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
↓ 7 callers
Method
addLload
Appends LLOAD or (WIDE) LLOAD_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:599
↓ 7 callers
Method
addReturn
Appends ARETURN, IRETURN, .., or RETURN. @param type the return type.
src/main/javassist/bytecode/Bytecode.java:1457
↓ 7 callers
Method
badTypes
(Expr expr)
src/main/javassist/compiler/CodeGen.java:1364
↓ 7 callers
Method
changeMsig
(String old, String oldname, String result, String newname)
src/test/javassist/bytecode/BytecodeTest.java:489
↓ 7 callers
Method
checkTarget
(int opIndex, int target, int codeLength, int[] stack, int stackDepth)
src/main/javassist/bytecode/CodeAnalyzer.java:190
↓ 7 callers
Method
codeEnd
Ends appending bytecode.
src/main/javassist/bytecode/ClassFileWriter.java:447
↓ 7 callers
Method
copy
Copies the n-th item in this ConstPool object into the destination ConstPool object. The class names that the item refers to are renamed according to
src/main/javassist/bytecode/ConstPool.java:947
↓ 7 callers
Method
doTypeCheck
(ASTree expr)
src/main/javassist/compiler/CodeGen.java:264
↓ 7 callers
Method
entrySet
Returns a set of the mappings contained in this hash table.
src/main/javassist/scopedpool/SoftValueHashMap.java:59
↓ 7 callers
Method
eq
(TypeData d)
src/main/javassist/bytecode/stackmap/TypeData.java:80
↓ 7 callers
Method
getAnnotation
Returns the annotation if the class has the specified annotation type. For example, if an annotation <code>@Author</code> is associated with this clas
src/main/javassist/CtClass.java:629
↓ 7 callers
Method
getClassName
Returns the name of the class using this constant pool table.
src/main/javassist/bytecode/ConstPool.java:224
↓ 7 callers
Method
getComponentType
Returns the component type.
src/main/javassist/bytecode/SignatureAttribute.java:976
↓ 7 callers
Method
getDeclarator
()
src/main/javassist/compiler/ast/Variable.java:34
↓ 7 callers
Method
getDeclaredConstructor
Returns a constructor receiving the specified parameters. @param params parameter types.
src/main/javassist/CtClass.java:950
↓ 7 callers
Method
getDescriptor
()
src/main/javassist/CtField.java:1072
↓ 7 callers
Method
getFieldrefClassName
Reads the <code>class_index</code> field of the <code>CONSTANT_Fieldref_info</code> structure at the given index. @return the name of the class at th
src/main/javassist/bytecode/ConstPool.java:369
↓ 7 callers
Method
getLineNumber
()
src/main/javassist/compiler/ast/ASTree.java:71
↓ 7 callers
Method
getMethod
Returns the method with the specified name. If there are multiple methods with that name, this method returns one of them. @return null if no such me
src/main/javassist/bytecode/ClassFile.java:637
↓ 7 callers
Method
getMethodrefClassName
Reads the <code>class_index</code> field of the <code>CONSTANT_Methodref_info</code> structure at the given index. @return the name of the class at t
src/main/javassist/bytecode/ConstPool.java:444
↓ 7 callers
Method
getMethods
Returns all the methods declared in the class. @return a list of <code>MethodInfo</code>. @see MethodInfo
src/main/javassist/bytecode/ClassFile.java:627
↓ 7 callers
Method
getModifiers
Obtains the modifiers of the method/constructor. @return modifiers encoded with <code>javassist.Modifier</code>. @see Modif
src/main/javassist/CtBehavior.java:162
↓ 7 callers
Method
getName
Returns the class name.
src/main/javassist/bytecode/ClassFile.java:381
↓ 7 callers
Method
getOprand
()
src/main/javassist/compiler/ast/CastExpr.java:51
↓ 7 callers
Method
getParameterAnnotations
Returns the parameter annotations associated with this method or constructor. @return an array of annotation-type objects. The length of the returne
src/main/javassist/CtBehavior.java:280
↓ 7 callers
Method
getSuperclass
(CtClass c)
src/main/javassist/compiler/MemberResolver.java:531
↓ 7 callers
Method
getSuperclass
Returns the super class name.
src/main/javassist/bytecode/ClassFile.java:396
↓ 7 callers
Method
getTypeData
(ConstPool cp)
src/main/javassist/bytecode/stackmap/TypeData.java:61
↓ 7 callers
Method
getTypeTag
()
src/main/javassist/bytecode/stackmap/TypeData.java:60
↓ 7 callers
Method
getter
Creates a public getter method. The getter method returns the value of the specified field in the class to which this method is added. The created me
src/main/javassist/CtNewMethod.java:228
↓ 7 callers
Method
handlerPc
Returns <code>handlerPc</code> of the <i>n</i>-th entry. @param nth the <i>n</i>-th (>= 0).
src/main/javassist/bytecode/ExceptionTable.java:135
↓ 7 callers
Method
hasAnnotation
Returns true if the class has the specified annotation type. @param annotationType the annotation type. @return <code>true</code> if the annotation i
src/main/javassist/CtClass.java:603
↓ 7 callers
Method
hashCode
()
src/test/test/javassist/convert/ArrayAccessReplaceTest.java:235
↓ 7 callers
Method
i
()
examples/src/test/javassist/tools/reflect/SubClass.java:7
↓ 7 callers
Method
incMaxLocals
(int size)
src/main/javassist/compiler/CodeGen.java:138
↓ 7 callers
Method
insertGap
Inserts a gap before the next instruction that would be returned by <code>next()</code> (not before the instruction returned by the last call to <code
src/main/javassist/bytecode/CodeIterator.java:525
↓ 7 callers
Method
insertParameter
Inserts a parameter type at the beginning of the parameter list represented by the given descriptor. <p><code>classname</code> must not be an array t
src/main/javassist/bytecode/Descriptor.java:345
↓ 7 callers
Method
isConstructor
Returns true if this object represents a constructor.
src/main/javassist/CtConstructor.java:116
↓ 7 callers
Method
isFrozen
Returns true if the class has been loaded or written out and thus it cannot be modified any more. @see #defrost() @see #detach()
src/main/javassist/CtClass.java:284
↓ 7 callers
Method
lookup
(String name)
src/main/javassist/compiler/SymbolTable.java:37
↓ 7 callers
Method
lookupClassByJvmName
(String jvmName, int lineNumber)
src/main/javassist/compiler/MemberResolver.java:335
↓ 7 callers
Method
makeArray
(int size)
src/main/javassist/bytecode/stackmap/BasicBlock.java:153
↓ 7 callers
Method
makeCall
(ASTree target, ASTree args, int lineNumber)
src/main/javassist/compiler/ast/CallExpr.java:44
↓ 7 callers
Method
name
Returns the value of <code>name_index</code> of the i-th element of <code>parameters</code>. @param i the position of the parameter.
src/main/javassist/bytecode/MethodParametersAttribute.java:56
↓ 7 callers
Method
replace0
(int pos, Bytecode bytecode, int size)
src/main/javassist/expr/Expr.java:285
↓ 7 callers
Method
replaceFieldRead
Modify a method body so that an expression reading the specified field is replaced with a call to the specified <i>static</i> method. This static meth
src/main/javassist/CodeConverter.java:198
↓ 7 callers
Method
setAccessFlags
Changes access flags. @see javassist.bytecode.AccessFlag
src/main/javassist/bytecode/ClassFile.java:348
↓ 7 callers
Method
setDescriptor
Sets the field descriptor. @see Descriptor
src/main/javassist/bytecode/FieldInfo.java:191
↓ 7 callers
Method
start
Is invoked by a <code>Loader</code> for initialization when the object is attached to the <code>Loader</code> object. This method can be used for gett
src/main/javassist/Translator.java:43
↓ 7 callers
Method
tableLength
Returns <code>number_of_classes</code>.
src/main/javassist/bytecode/InnerClassesAttribute.java:55
↓ 7 callers
Method
toJavaName
Converts a class name from the internal representation used in the JVM to the normal one used in Java. This method does not deal with an array type na
src/main/javassist/bytecode/Descriptor.java:52
↓ 7 callers
Method
wrapped
Creates a wrapped method. The wrapped method receives parameters in the form of an array of <code>Object</code>. <p>The body of the created method i
src/main/javassist/CtNewMethod.java:473
↓ 7 callers
Method
write16bit
Writes a 16bit value.
src/main/javassist/bytecode/StackMap.java:586
↓ 7 callers
Method
writeLong
(long i)
src/main/javassist/bytecode/ByteStream.java:79
↓ 6 callers
Method
addLdc2w
Appends LDC2_W. The pushed item is a long value.
src/main/javassist/bytecode/Bytecode.java:1272
↓ 6 callers
Method
addNew
Appends NEW. @param clazz the class of the created instance.
src/main/javassist/bytecode/Bytecode.java:1290
↓ 6 callers
Method
addRet
Appends RET. @param var local variable
src/main/javassist/bytecode/Bytecode.java:1473
↓ 6 callers
Method
annotation
(int pos)
src/main/javassist/bytecode/AnnotationsAttribute.java:387
↓ 6 callers
Method
atFieldRead
(ASTree expr)
src/main/javassist/compiler/TypeChecker.java:831
↓ 6 callers
Method
checkNotNull
Throws NullPointerException if argument is null. @param v the element
src/test/test/javassist/convert/InstrumentationTarget.java:97
↓ 6 callers
Method
checkResultValue
(CtClass retType, String prog)
src/main/javassist/expr/Expr.java:209
↓ 6 callers
Method
concat
Concatenates two lists.
src/main/javassist/compiler/ast/ASTList.java:156
↓ 6 callers
Method
consHead
()
src/main/javassist/CtMember.java:75
↓ 6 callers
Method
containsKey
Returns <code>true</code> if this map contains a mapping for the specified key. @param key The key whose presence in this map is to be tes
src/main/javassist/scopedpool/SoftValueHashMap.java:178
↓ 6 callers
Method
createClass1
(Lookup lookup)
src/main/javassist/util/proxy/ProxyFactory.java:554
↓ 6 callers
Method
descriptor
Returns the type descriptor of the local variable specified by <code>local_variable_table[i].descriptor_index</code>. <p> If this attribute represents
src/main/javassist/bytecode/LocalVariableAttribute.java:276
↓ 6 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:1542
↓ 6 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:1660
↓ 6 callers
Method
evalArrayLoad
(Type expectedComponent, Frame frame)
src/main/javassist/bytecode/analysis/Executor.java:635
↓ 6 callers
Method
evalArrayStore
(Type expectedComponent, Frame frame)
src/main/javassist/bytecode/analysis/Executor.java:663
↓ 6 callers
Method
evalShift
(Type expected, Frame frame)
src/main/javassist/bytecode/analysis/Executor.java:875
↓ 6 callers
Method
exits
Return the number of the blocks that may be executed after this block.
src/main/javassist/bytecode/analysis/ControlFlow.java:311
↓ 6 callers
Method
find
Finds the entry for the given inner class. @param name the fully-qualified class name separated by dot and $. @return the index or -1 if not fou
src/main/javassist/bytecode/InnerClassesAttribute.java:165
↓ 6 callers
Method
fullFrame
Writes a <code>full_frame</code>. <code>number_of_locals</code> and <code>number_of_stack_items</code> are specified by the the length of <code>localT
src/main/javassist/bytecode/StackMapTable.java:681
↓ 6 callers
Method
getAnnotation
Returns the annotation if the class has the specified annotation class. For example, if an annotation <code>@Author</code> is associated with this fie
src/main/javassist/CtField.java:283
↓ 6 callers
Method
getArrayType
@param dim array dimension. It may be negative.
src/main/javassist/bytecode/stackmap/TypeData.java:88
↓ 6 callers
Method
getClassPool
(Type rootComponent)
src/main/javassist/bytecode/analysis/Type.java:347
↓ 6 callers
Method
getComponentType
If this object represents an array, this method returns the component type of the array. Otherwise, it returns <code>null</code>.
src/main/javassist/CtClass.java:349
↓ 6 callers
Method
getConstPool
Obtains the constant pool given to the constructor.
src/main/javassist/bytecode/annotation/AnnotationsWriter.java:79
↓ 6 callers
Method
getCtClass
Returns the class of the target object, which the method is called on.
src/main/javassist/expr/MethodCall.java:89
↓ 6 callers
Method
getCtClass
Returns the class this type represents. If the type is special, null will be returned. @return the class for this type, or null if special
src/main/javassist/bytecode/analysis/Type.java:164
↓ 6 callers
Method
getFieldName
Returns the name of the field.
src/main/javassist/expr/FieldAccess.java:124
↓ 6 callers
Method
getInt
(int pos)
src/test/test/javassist/convert/ArrayAccessReplaceTest.java:261
↓ 6 callers
Method
getInterfaces
Obtains the class objects representing the interfaces implemented by the class or, if this object represents an interface, the interfaces extended by
src/main/javassist/CtClass.java:751
↓ 6 callers
Method
getInterfaces
()
src/main/javassist/CtClassType.java:841
↓ 6 callers
Method
getNestedClasses
Returns an array of nested classes declared in the class. Nested classes are inner classes, anonymous classes, local classes, and static nested classe
src/main/javassist/CtClass.java:682
↓ 6 callers
Method
getParams
Interprets the given type descriptor representing a method signature. It is used for implementing <code>$sig</code>.
src/main/javassist/runtime/Desc.java:97
↓ 6 callers
Method
getPos
()
src/main/javassist/bytecode/ByteStream.java:33
↓ 6 callers
Method
getPublicInner
(CtClass cc, String name)
src/test/javassist/JvstTest3.java:227
↓ 6 callers
Method
getSize
Gets the word size of this type. Double-word types, such as long and double will occupy two positions on the local variable table or stack. @return t
src/main/javassist/bytecode/analysis/Type.java:155
↓ 6 callers
Method
getSuperclass
()
src/main/javassist/CtClassType.java:824
↓ 6 callers
Method
getSuperclass
Obtains the super class set by <code>setSuperclass()</code>. @since 3.4
src/main/javassist/util/proxy/ProxyFactory.java:415
↓ 6 callers
Method
getType
Returns the type of the field.
src/main/javassist/CtField.java:387
↓ 6 callers
Method
getType
Interprets the given type descriptor. It is used for implementing <code>$type</code>.
src/main/javassist/runtime/Desc.java:108
↓ 6 callers
Method
innerName
Returns the simple class name indicated by <code>classes[nth].inner_name_index</code>. @return null or the class name.
src/main/javassist/bytecode/InnerClassesAttribute.java:128
↓ 6 callers
Method
insert0
@return the index indicating the first byte of the inserted byte sequence.
src/main/javassist/bytecode/CodeIterator.java:493
↓ 6 callers
Method
insertAt
Inserts bytecode at the specified line in the body. It is equivalent to: <br><code>insertAt(lineNum, true, src)</code> <br>See this method as well.
src/main/javassist/CtBehavior.java:1230
↓ 6 callers
Method
isAbstract
Returns true if the modifiers include the <code>abstract</code> modifier.
src/main/javassist/Modifier.java:160
↓ 6 callers
Method
isBuiltinType
(int t)
src/main/javassist/compiler/Parser.java:216
↓ 6 callers
Method
isEmpty
Returns true if the method body is empty, that is, <code>{}</code>. It also returns true if the method is an abstract method.
src/main/javassist/CtMethod.java:239
← previous
next →
401–500 of 5,108, ranked by callers