Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/jboss-javassist/javassist
/ functions
Functions
5,108 in github.com/jboss-javassist/javassist
⨍
Functions
5,108
◇
Types & classes
989
↓ 5 callers
Method
makeUniqueName
Makes a unique member name. This method guarantees that the returned name is not used as a prefix of any methods or fields visible in this class. If
src/main/javassist/CtClass.java:1690
↓ 5 callers
Method
memberValue
{@code element_value}
src/main/javassist/bytecode/AnnotationsAttribute.java:418
↓ 5 callers
Method
numOfParameters
Returns the number of the prameters included in the given descriptor. @param desc descriptor
src/main/javassist/bytecode/Descriptor.java:482
↓ 5 callers
Method
parameterName
Returns the name of the i-th element of <code>parameters</code>. @param i the position of the parameter.
src/main/javassist/bytecode/MethodParametersAttribute.java:64
↓ 5 callers
Method
pushMemberType
(String descriptor)
src/main/javassist/bytecode/stackmap/Tracer.java:857
↓ 5 callers
Method
read
(ConstPool cp, DataInputStream in)
src/main/javassist/bytecode/AttributeInfo.java:79
↓ 5 callers
Method
readLine
(Token token)
src/main/javassist/compiler/Lex.java:113
↓ 5 callers
Method
readS16bit
Reads a signed 16bit integer at the index.
src/main/javassist/bytecode/ByteArray.java:33
↓ 5 callers
Method
rebuildClassFile
If this method is called, the class file will be rebuilt when it is finally generated by <code>toBytecode()</code> and <code>writeFile()</code>. For a
src/main/javassist/CtClass.java:1508
↓ 5 callers
Method
removeClassPath
Detatches the <code>ClassPath</code> object from the search path. The detached <code>ClassPath</code> object cannot be added to the path again.
src/main/javassist/ClassPool.java:990
↓ 5 callers
Method
replace
(ConstPool cp, CodeIterator iterator, int pos, int opcode, String signature)
src/main/javassist/convert/TransformAccessArrayField.java:128
↓ 5 callers
Method
resolveClassName
(ASTList name)
src/main/javassist/compiler/CodeGen.java:181
↓ 5 callers
Method
sameFrame
Invoked if the visited frame is a <code>same_frame</code> or a <code>same_frame_extended</code>. @param pos the position of this frame in the <
src/main/javassist/bytecode/StackMapTable.java:240
↓ 5 callers
Method
setMaxStack
Sets <code>max_stack</code>. <p>This value may be automatically updated when an instruction is appended. A <code>Bytecode</code> object maintains th
src/main/javassist/bytecode/Bytecode.java:231
↓ 5 callers
Method
setName
Sets the class name @param name fully-qualified name
src/main/javassist/CtClass.java:394
↓ 5 callers
Method
setStack
Sets the type of the stack position @param index the position on the stack @param type the type to set
src/main/javassist/bytecode/analysis/Frame.java:79
↓ 5 callers
Method
skipConstructor
Moves to the instruction for either <code>super()</code> or <code>this()</code>. <p>This method skips all the instructions for computing arguments to
src/main/javassist/bytecode/CodeIterator.java:263
↓ 5 callers
Method
skipSuperConstructor
Moves to the instruction for <code>super()</code>. <p>This method skips all the instructions for computing arguments to <code>super()</code>, which s
src/main/javassist/bytecode/CodeIterator.java:285
↓ 5 callers
Method
startPc
Returns <code>startPc</code> of the <i>n</i>-th entry. @param nth the <i>n</i>-th (>= 0).
src/main/javassist/bytecode/ExceptionTable.java:97
↓ 5 callers
Method
startPc
Returns <code>line_number_table[i].start_pc</code>. This represents the index into the code array at which the code for a new line in the original sou
src/main/javassist/bytecode/LineNumberAttribute.java:57
↓ 5 callers
Method
stripPlusExpr
(ASTree expr)
src/main/javassist/compiler/TypeChecker.java:445
↓ 5 callers
Method
sublist
Returns a sub list of the list. The sub list begins with the n-th element of the list. @param nth zero or more than zero.
src/main/javassist/compiler/ast/ASTList.java:124
↓ 5 callers
Method
tableLength
Returns <code>line_number_table_length</code>. This represents the number of entries in the table.
src/main/javassist/bytecode/LineNumberAttribute.java:46
↓ 5 callers
Method
testAnalysisType2
(CtClass cc, int size)
src/test/javassist/JvstTest4.java:368
↓ 5 callers
Method
toJvmName
Converts a class name into the internal representation used in the JVM.
src/main/javassist/ClassMap.java:167
↓ 5 callers
Method
toString
Returns the class search path.
src/main/javassist/ClassPool.java:253
↓ 5 callers
Method
typeInfoArray
Invoked when an array of <code>verification_type_info</code> is visited. @param num the number of elements. @param isLocals true if this array
src/main/javassist/bytecode/StackMap.java:175
↓ 5 callers
Method
typePath
(int pos)
src/main/javassist/bytecode/TypeAnnotationsAttribute.java:226
↓ 5 callers
Method
update
(int pos, int offsetDelta, int base, int entry)
src/main/javassist/bytecode/StackMapTable.java:882
↓ 5 callers
Method
variableName
Returns the name of the local variable specified by <code>local_variable_table[i].name_index</code>. @param i the i-th entry.
src/main/javassist/bytecode/LocalVariableAttribute.java:216
↓ 5 callers
Method
visit
Visits each entry of the stack map frames.
src/main/javassist/bytecode/StackMap.java:139
↓ 5 callers
Method
write32bit
Writes an 32bit value at the offset from the beginning of the bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:379
↓ 4 callers
Method
_getClass
Obtains the class metaobject associated with this object.
examples/src/main/javassist/tools/reflect/Metalevel.java:28
↓ 4 callers
Method
addCatch
Adds a catch clause that handles an exception thrown in the body. The catch clause must end with a return or throw statement. @param src the s
src/main/javassist/CtBehavior.java:1144
↓ 4 callers
Method
addConstInfoPadding
()
src/main/javassist/bytecode/ConstPool.java:956
↓ 4 callers
Method
addGetfield
Appends GETFIELD. @param c the class. @param name the field name. @param type the descriptor of the field type. @see Descriptor#of
src/main/javassist/bytecode/Bytecode.java:855
↓ 4 callers
Method
addItem0
(ConstInfo info)
src/main/javassist/bytecode/ConstPool.java:917
↓ 4 callers
Method
atMethodCallCore
@return a pair of the class declaring the invoked method and the MethodInfo of that method. Never null.
src/main/javassist/compiler/TypeChecker.java:756
↓ 4 callers
Method
badMethod
(int lineNumber)
src/main/javassist/compiler/TypeChecker.java:728
↓ 4 callers
Method
badMethod
(int lineNumber)
src/main/javassist/compiler/MemberCodeGen.java:572
↓ 4 callers
Method
basicBlocks
Returns all the basic blocks in the method body. @return an array of basic blocks, the array has length 0 if the method doesn't have code.
src/main/javassist/bytecode/analysis/ControlFlow.java:110
↓ 4 callers
Method
booleanExpr
(boolean branchIf, ASTree expr)
src/main/javassist/compiler/CodeGen.java:1199
↓ 4 callers
Method
cast
(Object item)
src/test/test/javassist/convert/InstrumentationTarget.java:80
↓ 4 callers
Method
check
(Class _class, Object object, boolean shouldBe)
src/test/javassist/SetterTest.java:98
↓ 4 callers
Method
checkTestAnnotation
(CtClass ctClass, String value)
src/test/scoped/ScopedRepositoryTestCase.java:152
↓ 4 callers
Method
classInfo
(ConstPool pool, int index)
src/main/javassist/bytecode/InstructionPrinter.java:209
↓ 4 callers
Method
classMemberValue
{@code class_info_index}
src/main/javassist/bytecode/AnnotationsAttribute.java:459
↓ 4 callers
Method
className
Returns the name of the class specified by <code>class_index</code>.
src/main/javassist/bytecode/EnclosingMethodAttribute.java:95
↓ 4 callers
Method
close
Close the class pool
src/main/javassist/scopedpool/ScopedClassPool.java:120
↓ 4 callers
Method
close
()
src/main/javassist/bytecode/AnnotationsAttribute.java:561
↓ 4 callers
Method
compileExpr
(ASTree expr)
src/main/javassist/compiler/CodeGen.java:252
↓ 4 callers
Method
compileStringParameter
(Bytecode code)
src/main/javassist/CtField.java:1113
↓ 4 callers
Method
computeSignature
(MethodFilter filter)
src/main/javassist/util/proxy/ProxyFactory.java:996
↓ 4 callers
Method
copy
Makes a copy. Class names are replaced according to the given <code>Map</code> object. @param newCp the constant pool table used by the new copy
src/main/javassist/bytecode/ExceptionsAttribute.java:70
↓ 4 callers
Method
copy
Makes a shallow copy of this frame, i.e. the type instances will remain the same. @return the shallow copy
src/main/javassist/bytecode/analysis/Frame.java:151
↓ 4 callers
Method
copyConstPoolInfo
(int i, byte[] code, ConstPool srcCp, byte[] newcode, ConstPool dest
src/main/javassist/bytecode/CodeAttribute.java:584
↓ 4 callers
Method
copyData
(int tag, int data)
src/main/javassist/bytecode/StackMapTable.java:419
↓ 4 callers
Method
count
(CtMember head, CtMember tail)
src/main/javassist/CtMember.java:109
↓ 4 callers
Method
delegator
Creates a method forwarding to a delegate in a super class. The created method calls a method specified by <code>delegate</code> with all the paramet
src/main/javassist/CtNewMethod.java:328
↓ 4 callers
Method
dfs
Depth-first search by Tarjan's algorithm @param order a node stack in the order in which nodes are visited. @param index the index used by the al
src/main/javassist/bytecode/stackmap/TypeData.java:96
↓ 4 callers
Method
doWIDE_STORE
(int pos, byte[] code, TypeData type)
src/main/javassist/bytecode/stackmap/Tracer.java:719
↓ 4 callers
Method
doWIDE_XLOAD
(int pos, byte[] code, TypeData type)
src/main/javassist/bytecode/stackmap/Tracer.java:714
↓ 4 callers
Method
elseExpr
()
src/main/javassist/compiler/ast/CondExpr.java:40
↓ 4 callers
Method
enumMemberValue
{@code enum_const_value}
src/main/javassist/bytecode/AnnotationsAttribute.java:452
↓ 4 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:2156
↓ 4 callers
Method
fieldHead
()
src/main/javassist/CtMember.java:77
↓ 4 callers
Method
findCommonInterfaces
(Type type)
src/main/javassist/bytecode/analysis/Type.java:469
↓ 4 callers
Method
foo
()
src/test/javassist/proxyfactory/ProxyFactoryTest.java:120
↓ 4 callers
Method
foo
()
src/test/test3/Mods.java:8
↓ 4 callers
Method
getAccessFlags
Returns access flags. @see AccessFlag
src/main/javassist/bytecode/MethodInfo.java:267
↓ 4 callers
Method
getAccessorMaker
Undocumented method. Do not use; internal-use only.
src/main/javassist/CtClass.java:261
↓ 4 callers
Method
getAnnotations
Parses the annotations and returns a data structure representing that parsed annotations. Note that changes of the node values of the returned tree a
src/main/javassist/bytecode/AnnotationsAttribute.java:268
↓ 4 callers
Method
getAttributes
Returns <code>attributes[]</code>. It returns a list of <code>AttributeInfo</code>. A new element can be added to the returned list and an existing el
src/main/javassist/bytecode/CodeAttribute.java:313
↓ 4 callers
Method
getClassLoader
()
src/main/javassist/util/proxy/ProxyFactory.java:765
↓ 4 callers
Method
getClassMetaobject
Obtains the class metaobject associated with this metaobject. @see javassist.tools.reflect.ClassMetaobject
examples/src/main/javassist/tools/reflect/Metaobject.java:97
↓ 4 callers
Method
getClassPool
()
src/main/javassist/CtClassType.java:305
↓ 4 callers
Method
getCode
Returns <code>code[]</code>.
src/main/javassist/bytecode/CodeAttribute.java:284
↓ 4 callers
Method
getDeclaredMethod
(final Class<?> clazz, final String name, final Class<?>[] types)
src/main/javassist/util/proxy/SecurityActions.java:108
↓ 4 callers
Method
getDefaultValue
Obtains the default value represented by this attribute.
src/main/javassist/bytecode/AnnotationDefaultAttribute.java:145
↓ 4 callers
Method
getDoubleInfo
Reads <code>CONSTANT_Double_info</code> structure at the given index. @return the value specified by this entry.
src/main/javassist/bytecode/ConstPool.java:648
↓ 4 callers
Method
getExpr
()
src/main/javassist/compiler/NoFieldException.java:41
↓ 4 callers
Method
getFieldSize
(CodeIterator ci, int index)
src/main/javassist/bytecode/CodeAnalyzer.java:263
↓ 4 callers
Method
getFieldrefName
Reads the <code>name_index</code> field of the <code>CONSTANT_NameAndType_info</code> structure indirectly specified by the given index. @param index
src/main/javassist/bytecode/ConstPool.java:396
↓ 4 callers
Method
getFloatInfo
Reads <code>CONSTANT_Float_info</code> structure at the given index. @return the value specified by this entry.
src/main/javassist/bytecode/ConstPool.java:624
↓ 4 callers
Method
getInit
()
src/main/javassist/compiler/ast/FieldDecl.java:33
↓ 4 callers
Method
getInnerClassAttr
(CtClass cc)
src/test/javassist/JvstTest5.java:401
↓ 4 callers
Method
getListSize
(List<Integer> list)
src/main/javassist/compiler/CodeGen.java:789
↓ 4 callers
Method
getLong
(int pos)
src/test/test/javassist/convert/ArrayAccessReplaceTest.java:264
↓ 4 callers
Method
getLongInfo
Reads <code>CONSTANT_Long_info</code> structure at the given index. @return the value specified by this entry.
src/main/javassist/bytecode/ConstPool.java:636
↓ 4 callers
Method
getMemberValue
Obtains the member value with the given name. <p>If this annotation does not have a value for the specified member, this method returns null. It doe
src/main/javassist/bytecode/annotation/Annotation.java:265
↓ 4 callers
Method
getMethodrefName
Reads the <code>name_index</code> field of the <code>CONSTANT_NameAndType_info</code> structure indirectly specified by the given index. @param index
src/main/javassist/bytecode/ConstPool.java:471
↓ 4 callers
Method
getModifiers
Obtains the modifiers of the member. @return modifiers encoded with <code>javassist.Modifier</code>. @see Modifier
src/main/javassist/CtMember.java:214
↓ 4 callers
Method
getName
Returns an attribute name.
src/main/javassist/bytecode/AttributeInfo.java:152
↓ 4 callers
Method
getNext
()
src/main/javassist/convert/Transformer.java:41
↓ 4 callers
Method
getPackageName
Obtains the package name. It may be <code>null</code>.
src/main/javassist/CtClass.java:381
↓ 4 callers
Method
getRefClasses
(Map<String,String> classnames)
src/main/javassist/bytecode/AttributeInfo.java:287
↓ 4 callers
Method
getReturnOp
Returns the opcode for returning a value of the type. For example, if the type is int, then the returned opcode is <code>javassit.bytecode.Opcode.IRET
src/main/javassist/CtPrimitiveType.java:98
↓ 4 callers
Method
getThisClassInfo
Returns the index of <code>CONSTANT_Class_info</code> structure specifying the class using this constant pool table.
src/main/javassist/bytecode/ConstPool.java:233
↓ 4 callers
Method
getType
(ClassLoader cl)
src/main/javassist/bytecode/annotation/EnumMemberValue.java:75
↓ 4 callers
Method
getTypeName
Obtains the name of the annotation type. @return the type name
src/main/javassist/bytecode/annotation/AnnotationImpl.java:88
← previous
next →
601–700 of 5,108, ranked by callers