Uses of Class
javassist.CtBehavior
-
Packages that use CtBehavior Package Description javassist The Javassist Core API.javassist.expr This package contains the classes for modifying a method body.javassist.tools Covenient tools. -
-
Uses of CtBehavior in javassist
Subclasses of CtBehavior in javassist Modifier and Type Class Description classCtConstructorAn instance of CtConstructor represents a constructor.classCtMethodAn instance ofCtMethodrepresents a method.Methods in javassist that return CtBehavior Modifier and Type Method Description CtBehavior[]CtClass. getDeclaredBehaviors()Gets all the constructors and methods declared in the class.CtBehaviorCtClass. getEnclosingBehavior()Returns the immediately enclosing method of this class. -
Uses of CtBehavior in javassist.expr
Methods in javassist.expr that return CtBehavior Modifier and Type Method Description CtBehaviorCast. where()Returns the method or constructor containing the type cast expression represented by this object.CtBehaviorExpr. where()Returns the constructor or method containing the expression.CtBehaviorFieldAccess. where()Returns the method or constructor containing the field-access expression represented by this object.CtBehaviorHandler. where()Returns the method or constructor containing the catch clause.CtBehaviorInstanceof. where()Returns the method or constructor containing the instanceof expression represented by this object.CtBehaviorMethodCall. where()Returns the method or constructor containing the method-call expression represented by this object.CtBehaviorNewArray. where()Returns the method or constructor containing the array creation represented by this object.CtBehaviorNewExpr. where()Returns the method or constructor containing thenewexpression represented by this object. -
Uses of CtBehavior in javassist.tools
Methods in javassist.tools with parameters of type CtBehavior Modifier and Type Method Description static voidCallback. insertAfter(CtBehavior behavior, Callback callback)Utility method to inserts callback at the end of the body.static voidCallback. insertAfter(CtBehavior behavior, Callback callback, boolean asFinally)Utility method to inserts callback at the end of the body.static intCallback. insertAt(CtBehavior behavior, Callback callback, int lineNum)Utility method to inserts callback at the specified line in the body.static voidCallback. insertBefore(CtBehavior behavior, Callback callback)Utility method to insert callback at the beginning of the body.
-