| Modifier and Type | Class and Description |
|---|---|
| pack-priv static class |
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| public String | Returns: null if this information is not available.Overrides javassist. Returns the source file containing the instanceof expression. |
| public int | Returns: -1 if this information is not available.Overrides javassist. Returns the line number of the source line containing the instanceof expression. |
| public CtClass | getType()
Returns the |
| public CtClass[] | mayThrow()
Overrides javassist. Returns the list of exceptions that the expression may throw. |
| public void | replace(String
a Java statement except try-catch. statement)Implements abstract javassist. Replaces the instanceof operator with the bytecode derived from the given source text. |
| public CtBehavior | where()
Overrides javassist. Returns the method or constructor containing the instanceof expression represented by this object. |
| Instanceof | back to summary |
|---|---|
| protected Instanceof(int pos, CodeIterator i, CtClass declaring, MethodInfo m) Undocumented constructor. Do not use; internal-use only. | |
| getFileName | back to summary |
|---|---|
| public String getFileName() Overrides javassist. Returns the source file containing the instanceof expression. | |
| getLineNumber | back to summary |
|---|---|
| public int getLineNumber() Overrides javassist. Returns the line number of the source line containing the instanceof expression.
| |
| getType | back to summary |
|---|---|
| public CtClass getType() throws NotFoundException Returns the | |
| mayThrow | back to summary |
|---|---|
| public CtClass[] mayThrow() Overrides javassist. Returns the list of exceptions that the expression may throw. This list includes both the exceptions that the try-catch statements including the expression can catch and the exceptions that the throws declaration allows the method to throw.
| |
| replace | back to summary |
|---|---|
| public void replace(String statement) throws CannotCompileException Implements abstract javassist. Replaces the instanceof operator with the bytecode derived from the given source text. $0 is available but the value is | |
| where | back to summary |
|---|---|
| public CtBehavior where() Overrides javassist. Returns the method or constructor containing the instanceof expression represented by this object.
| |
| Modifier and Type | Field and Description |
|---|---|
| pack-priv int |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| public void | doit(JvstCodeGen gen, Bytecode bytecode, ASTList args)
Implements javassist.
|
| public void | setReturnType(JvstTypeChecker c, ASTList args)
Implements javassist.
|
| index | back to summary |
|---|---|
| pack-priv int index | |
| ProceedForInstanceof | back to summary |
|---|---|
| pack-priv ProceedForInstanceof(int i) | |
| doit | back to summary |
|---|---|
| public void doit(JvstCodeGen gen, Bytecode bytecode, ASTList args) throws CompileError Implements javassist.
| |
| setReturnType | back to summary |
|---|---|
| public void setReturnType(JvstTypeChecker c, ASTList args) throws CompileError Implements javassist.
| |