author | joehw |
Thu, 21 Dec 2017 09:29:24 -0800 | |
changeset 48409 | 5ab69533994b |
parent 47216 | 71c04702a3d5 |
permissions | -rw-r--r-- |
12458 | 1 |
/* |
2 |
* reserved comment block |
|
3 |
* DO NOT REMOVE OR ALTER! |
|
4 |
*/ |
|
5 |
/* |
|
44797
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
6 |
* Licensed to the Apache Software Foundation (ASF) under one or more |
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
7 |
* contributor license agreements. See the NOTICE file distributed with |
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
8 |
* this work for additional information regarding copyright ownership. |
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
9 |
* The ASF licenses this file to You under the Apache License, Version 2.0 |
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
10 |
* (the "License"); you may not use this file except in compliance with |
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
11 |
* the License. You may obtain a copy of the License at |
12458 | 12 |
* |
44797
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
13 |
* http://www.apache.org/licenses/LICENSE-2.0 |
12458 | 14 |
* |
15 |
* Unless required by applicable law or agreed to in writing, software |
|
16 |
* distributed under the License is distributed on an "AS IS" BASIS, |
|
17 |
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
18 |
* See the License for the specific language governing permissions and |
|
19 |
* limitations under the License. |
|
20 |
*/ |
|
21 |
||
44797
8b3b3b911b8a
8162572: Update License Header for all JAXP sources
joehw
parents:
25868
diff
changeset
|
22 |
|
12458 | 23 |
package com.sun.org.apache.xalan.internal.xsltc.compiler.util; |
24 |
import com.sun.org.apache.bcel.internal.generic.Instruction; |
|
25 |
/** |
|
26 |
* <p>Marks the end of a region of byte code that can be copied into a new |
|
27 |
* method. See the {@link OutlineableChunkStart} pseudo-instruction for |
|
28 |
* details.</p> |
|
29 |
*/ |
|
30 |
class OutlineableChunkEnd extends MarkerInstruction { |
|
31 |
/** |
|
32 |
* A constant instance of {@link OutlineableChunkEnd}. As it has no fields, |
|
33 |
* there should be no need to create an instance of this class. |
|
34 |
*/ |
|
35 |
public static final Instruction OUTLINEABLECHUNKEND = |
|
36 |
new OutlineableChunkEnd(); |
|
37 |
||
38 |
/** |
|
39 |
* Private default constructor. As it has no fields, |
|
40 |
* there should be no need to create an instance of this class. See |
|
41 |
* {@link OutlineableChunkEnd#OUTLINEABLECHUNKEND}. |
|
42 |
*/ |
|
43 |
private OutlineableChunkEnd() { |
|
44 |
} |
|
45 |
||
46 |
/** |
|
47 |
* Get the name of this instruction. Used for debugging. |
|
48 |
* @return the instruction name |
|
49 |
*/ |
|
50 |
public String getName() { |
|
51 |
return OutlineableChunkEnd.class.getName(); |
|
52 |
} |
|
53 |
||
54 |
/** |
|
55 |
* Get the name of this instruction. Used for debugging. |
|
56 |
* @return the instruction name |
|
57 |
*/ |
|
58 |
public String toString() { |
|
59 |
return getName(); |
|
60 |
} |
|
61 |
||
62 |
/** |
|
63 |
* Get the name of this instruction. Used for debugging. |
|
64 |
* @return the instruction name |
|
65 |
*/ |
|
66 |
public String toString(boolean verbose) { |
|
67 |
return getName(); |
|
68 |
} |
|
69 |
} |