| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectclassUtils.javassist.expr.Expr
classUtils.javassist.expr.Instanceof
public class Instanceof
Instanceof operator.
| Field Summary | 
|---|
| Method Summary | |
|---|---|
|  java.lang.String | getFileName()Returns the source file containing the instanceof expression. | 
|  int | getLineNumber()Returns the line number of the source line containing the instanceof expression. | 
|  CompileTimeClass | getType()Returns the CtClassobject representing
 the type name on the right hand side
 of the instanceof operator. | 
|  CompileTimeClass[] | mayThrow()Returns the list of exceptions that the expression may throw. | 
|  void | replace(java.lang.String statement)Replaces the instanceof operator with the bytecode derived from the given source text. | 
|  CtBehavior | where()Returns the method or constructor containing the instanceof expression represented by this object. | 
| Methods inherited from class classUtils.javassist.expr.Expr | 
|---|
| indexOfBytecode | 
| Methods inherited from class java.lang.Object | 
|---|
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Method Detail | 
|---|
public CtBehavior where()
where in class Exprpublic int getLineNumber()
getLineNumber in class Exprpublic java.lang.String getFileName()
getFileName in class Expr
public CompileTimeClass getType()
                         throws NotFoundException
CtClass object representing
 the type name on the right hand side
 of the instanceof operator.
NotFoundExceptionpublic CompileTimeClass[] mayThrow()
mayThrow in class Expr
public void replace(java.lang.String statement)
             throws CannotCompileException
$0 is available but the value is null.
statement - a Java statement.
CannotCompileException| 
 | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||