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
↓ 14 callers
Method
find
Searches the class path to obtain the URL of the class file specified by classname. It is also used to determine whether the class file exists. @par
src/main/javassist/ClassPool.java:568
↓ 14 callers
Method
getMethods
Returns an array containing <code>CtMethod</code> objects representing all the non-private methods of the class. That array includes non-private metho
src/main/javassist/CtClass.java:976
↓ 14 callers
Method
getType
()
src/main/javassist/compiler/ast/IntConst.java:43
↓ 14 callers
Method
is2WordType
()
src/main/javassist/bytecode/stackmap/TypeData.java:71
↓ 14 callers
Method
javaToJvmName
(String classname)
src/main/javassist/compiler/MemberResolver.java:555
↓ 14 callers
Method
length
Returns the number of the elements in this list.
src/main/javassist/compiler/ast/ASTList.java:101
↓ 14 callers
Method
makeClass
Creates a new class (or interface) from the given class file. If there already exists a class with the same name, the new class overwrites that previo
src/main/javassist/ClassPool.java:682
↓ 14 callers
Method
move
Moves to the given index. <p>The index of the next instruction is set to the given index. The successive call to <code>next()</code> returns the inde
src/main/javassist/bytecode/CodeIterator.java:83
↓ 14 callers
Method
setSuperclass
Changes a super class unless this object represents an interface. The new super class must be compatible with the old one; for example, it should inhe
src/main/javassist/CtClass.java:742
↓ 14 callers
Method
setType
(String typeName, ClassPool cp)
src/main/javassist/bytecode/stackmap/TypeData.java:296
↓ 13 callers
Method
accept
(Visitor v)
src/main/javassist/compiler/ast/Stmnt.java:52
↓ 13 callers
Method
doit
(JvstCodeGen gen, Bytecode b, ASTList args, int lineNumber)
src/main/javassist/compiler/ProceedHandler.java:28
↓ 13 callers
Method
end
Ends writing and returns the contents of the class file. @param accessFlags access flags. @param thisClass this class. an index indica
src/main/javassist/bytecode/ClassFileWriter.java:127
↓ 13 callers
Method
get
Returns the produced bytecode sequence.
src/main/javassist/bytecode/Bytecode.java:208
↓ 13 callers
Method
getClassName
()
src/main/javassist/compiler/ast/NewExpr.java:61
↓ 13 callers
Method
getContextClassLoader
Obtains a class loader that seems appropriate to look up a class by name.
src/main/javassist/ClassPool.java:1077
↓ 13 callers
Method
getLinesCount
()
src/main/javassist/CtClass.java:1580
↓ 13 callers
Method
getMaxLocals
()
src/main/javassist/compiler/CodeGen.java:132
↓ 13 callers
Method
getMethodName
Returns the name of the called method.
src/main/javassist/expr/MethodCall.java:119
↓ 13 callers
Method
getName
Returns a method name.
src/main/javassist/bytecode/MethodInfo.java:217
↓ 13 callers
Method
getSignature
Returns the character string representing the type of the field. The field signature is represented by a character string called a field descriptor, w
src/main/javassist/CtField.java:349
↓ 13 callers
Method
inc
Circularly increment i.
src/test/test/javassist/convert/InstrumentationTarget.java:69
↓ 13 callers
Method
innerClass
Returns the class name indicated by <code>classes[nth].inner_class_info_index</code>. The class name is fully-qualified and separated by dot. @return
src/main/javassist/bytecode/InnerClassesAttribute.java:72
↓ 13 callers
Method
is2word
(int type, int dim)
src/main/javassist/compiler/CodeGen.java:128
↓ 13 callers
Method
parseArrayDimension
()
src/main/javassist/compiler/Parser.java:992
↓ 13 callers
Method
renameClass
(String oldname, String newname)
src/main/javassist/bytecode/SignatureAttribute.java:95
↓ 13 callers
Method
setAccessible
(final AccessibleObject ao, final boolean accessible)
src/main/javassist/util/proxy/SecurityActions.java:155
↓ 13 callers
Method
setMaxLocals
Sets <code>max_locals</code>.
src/main/javassist/bytecode/CodeAttribute.java:270
↓ 13 callers
Method
toJvmName
Converts a class name into the internal representation used in the JVM. <p>Note that <code>toJvmName(toJvmName(s))</code> is equivalent to <code>toJv
src/main/javassist/bytecode/Descriptor.java:39
↓ 13 callers
Method
ungetc
(int c)
src/main/javassist/compiler/Lex.java:511
↓ 12 callers
Method
addConstructor
Adds a constructor. To add a class initializer (static constructor), call <code>makeClassInitializer()</code>. @see #makeClassInitializer()
src/main/javassist/CtClass.java:1070
↓ 12 callers
Method
addIload
Appends ILOAD or (WIDE) ILOAD_<n> @param n an index into the local variable array.
src/main/javassist/bytecode/Bytecode.java:549
↓ 12 callers
Method
analyze
Performs data-flow analysis on a method and returns an array, indexed by instruction position, containing the starting frame state of all reachable in
src/main/javassist/bytecode/analysis/Analyzer.java:120
↓ 12 callers
Method
begin
Moves to the first instruction.
src/main/javassist/bytecode/CodeIterator.java:66
↓ 12 callers
Method
elementAt
(int i)
src/main/javassist/bytecode/LongVector.java:41
↓ 12 callers
Method
get
()
src/main/javassist/compiler/Lex.java:57
↓ 12 callers
Method
get
Obtain the Type for a given class. If the class is a primitive, the the unique type instance for the primitive will be returned. Otherwise a new Type
src/main/javassist/bytecode/analysis/Type.java:122
↓ 12 callers
Method
getCtClass
(Class<?> clazz)
src/test/scoped/ScopedRepositoryTestCase.java:138
↓ 12 callers
Method
getExceptionTypes
Obtains exceptions that this method/constructor may throw. @return a zero-length array if there is no throws clause.
src/main/javassist/CtBehavior.java:392
↓ 12 callers
Method
getLongName
Returns the method name followed by parameter types such as <code>javassist.CtMethod.setBody(String)</code>. @since 3.5
src/main/javassist/CtMethod.java:206
↓ 12 callers
Method
getMaxStack
Gets <code>max_stack</code>.
src/main/javassist/bytecode/Bytecode.java:215
↓ 12 callers
Method
getReturnType
Returns the <code>CtClass</code> object representing the return type specified by the given descriptor. @param desc descriptor @param cp the class
src/main/javassist/bytecode/Descriptor.java:465
↓ 12 callers
Method
getRight
()
src/main/javassist/compiler/ast/Pair.java:53
↓ 12 callers
Method
getType
(String name)
src/main/javassist/bytecode/analysis/Executor.java:940
↓ 12 callers
Method
isRefType
(int type)
src/main/javassist/compiler/CodeGen.java:1374
↓ 12 callers
Method
parseStatement
(SymbolTable tbl)
src/main/javassist/compiler/Parser.java:256
↓ 12 callers
Method
processQueue
()
src/main/javassist/scopedpool/SoftValueHashMap.java:79
↓ 12 callers
Method
recordReturnType
Prepares to use cast $r, $w, $_, and $type. $type is made to represent the specified return type. It also enables to write a return statement with a r
src/main/javassist/compiler/Javac.java:399
↓ 12 callers
Method
remove
(CodeGen gen)
src/main/javassist/compiler/CodeGen.java:95
↓ 12 callers
Method
remove
Removes the entry at the specified position in the table. @param index the index of the removed entry.
src/main/javassist/bytecode/ExceptionTable.java:219
↓ 12 callers
Method
setMaxStack
Sets <code>max_stack</code>.
src/main/javassist/bytecode/CodeAttribute.java:244
↓ 12 callers
Method
toCtClass
Returns a <code>CtClass</code> object representing the type specified by the given descriptor. <p>This method works even if the package-class separat
src/main/javassist/bytecode/Descriptor.java:520
↓ 12 callers
Method
values
()
src/main/javassist/scopedpool/SoftValueHashMap.java:279
↓ 11 callers
Method
addDoubleInfo
Adds a new <code>CONSTANT_Double_info</code> structure. @return the index of the added entry.
src/main/javassist/bytecode/ConstPool.java:1186
↓ 11 callers
Method
addExceptionHandler
Adds a new entry of <code>exception_table</code>.
src/main/javassist/bytecode/Bytecode.java:291
↓ 11 callers
Method
addFieldrefInfo
Adds a new <code>CONSTANT_Fieldref_info</code> structure. <p>This also adds a new <code>CONSTANT_NameAndType_info</code> structure. @param classInfo
src/main/javassist/bytecode/ConstPool.java:1039
↓ 11 callers
Method
addJump
(Bytecode code, int opcode, int pos)
src/test/test/javassist/bytecode/analysis/ScannerTest.java:180
↓ 11 callers
Method
addUtf8Info
Adds a new <code>CONSTANT_Utf8_info</code> structure. @return the index of the added entry.
src/main/javassist/bytecode/ClassFileWriter.java:795
↓ 11 callers
Method
descToType
(char c, int lineNumber)
src/main/javassist/compiler/MemberResolver.java:563
↓ 11 callers
Method
encode
Returns the encoded string representing the object type signature.
src/main/javassist/bytecode/SignatureAttribute.java:777
↓ 11 callers
Method
eq
(CtClass one, CtClass two)
src/main/javassist/bytecode/analysis/Type.java:579
↓ 11 callers
Method
fatal
(int lineNumber)
src/main/javassist/compiler/CodeGen.java:124
↓ 11 callers
Method
getArrayDim
()
src/main/javassist/compiler/ast/CastExpr.java:47
↓ 11 callers
Method
getAttribute
Obtains an attribute with the given name. If that attribute is not found in the class file, this method returns null. <p>This is a convenient method
src/main/javassist/CtClass.java:1207
↓ 11 callers
Method
getClassName
(String fileName)
src/test/javassist/bytecode/StackMapTest.java:117
↓ 11 callers
Method
getDescriptor
Returns a method descriptor. @see Descriptor
src/main/javassist/bytecode/MethodInfo.java:285
↓ 11 callers
Method
getEnclosingBehavior
Returns the immediately enclosing method of this class. It might be not a method but a constructor. This method works only with JDK 1.5 or later. @re
src/main/javassist/CtClass.java:816
↓ 11 callers
Method
getKey
(Class<?> superClass, Class<?>[] interfaces, byte[] signature, boolean useWriteReplace)
src/main/javassist/util/proxy/ProxyFactory.java:577
↓ 11 callers
Method
getLocal
Returns the local varaible table entry at index. @param index the position in the table @return the type if one exists, or null if the position is em
src/main/javassist/bytecode/analysis/Frame.java:48
↓ 11 callers
Method
getMethodrefType
Reads the <code>descriptor_index</code> field of the <code>CONSTANT_NameAndType_info</code> structure indirectly specified by the given index. @param
src/main/javassist/bytecode/ConstPool.java:491
↓ 11 callers
Method
getModifiers
Returns the encoded modifiers of the field. @see Modifier
src/main/javassist/CtField.java:238
↓ 11 callers
Method
getString
()
src/main/javassist/compiler/Lex.java:92
↓ 11 callers
Method
insertClassPath
Insert a <code>ClassPath</code> object at the head of the search path. @return the inserted class path. @see javassist.ClassPath @see javassist.URLCl
src/main/javassist/ClassPool.java:932
↓ 11 callers
Method
invoke
Is called when a method is invoked on a proxy instance associated with this handler. This method must process that method invocation. @param self
src/main/javassist/util/proxy/MethodHandler.java:47
↓ 11 callers
Method
iterator
Returns an iterator over the elements in this queue in proper sequence. The elements will be returned in order from first (head) to last (tail). <p>T
src/test/test/javassist/convert/InstrumentationTarget.java:672
↓ 11 callers
Method
keySet
()
src/main/javassist/scopedpool/SoftValueHashMap.java:264
↓ 11 callers
Method
pop
Alters the stack to contain one less element and return it. @return the element popped from the stack
src/main/javassist/bytecode/analysis/Frame.java:129
↓ 11 callers
Method
rebuildStackMaps2
(CtClass cc)
src/test/javassist/bytecode/StackMapTest.java:82
↓ 11 callers
Method
remove
(List<AttributeInfo> attributes, String name)
src/main/javassist/bytecode/AttributeInfo.java:229
↓ 11 callers
Method
setExceptionTypes
Sets exceptions that this method/constructor may throw.
src/main/javassist/CtBehavior.java:406
↓ 11 callers
Method
typePrecedence
(int type)
src/main/javassist/compiler/CodeGen.java:1378
↓ 11 callers
Method
writeObject
(ObjectOutputStream out)
examples/src/main/javassist/tools/reflect/Metaobject.java:80
↓ 10 callers
Method
addFloatInfo
Adds a new <code>CONSTANT_Float_info</code> structure. @return the index of the added entry.
src/main/javassist/bytecode/ConstPool.java:1160
↓ 10 callers
Method
addInterfaceMethodrefInfo
Adds a new <code>CONSTANT_InterfaceMethodref_info</code> structure. <p>This also adds a new <code>CONSTANT_NameAndType_info</code> structure. @param
src/main/javassist/bytecode/ConstPool.java:1104
↓ 10 callers
Method
constValueIndex
Writes <code>tag</code> and <code>const_value_index</code> in <code>element_value</code>. @param value the constant value.
src/main/javassist/bytecode/annotation/AnnotationsWriter.java:175
↓ 10 callers
Method
copy
Creates a copy of a method. This method is provided for creating a new method based on an existing method. This is a convenience method for calling {
src/main/javassist/CtNewMethod.java:167
↓ 10 callers
Method
flush
()
src/main/javassist/CtClass.java:1653
↓ 10 callers
Method
foo
(int i)
src/test/test4/GapSwitch.java:5
↓ 10 callers
Method
getAttribute
Returns the attribute with the specified name. If it is not found, this method returns null. @param name attribute name @return an <cod
src/main/javassist/bytecode/CodeAttribute.java:322
↓ 10 callers
Method
getAttribute
Returns the attribute with the specified name. It returns null if the specified attribute is not found. <p>An attribute name can be obtained by, for
src/main/javassist/bytecode/FieldInfo.java:242
↓ 10 callers
Method
getAttributes
Returns all the attributes. The returned <code>List</code> object is shared with this object. If you add a new attribute to the list, the attribute
src/main/javassist/bytecode/ClassFile.java:727
↓ 10 callers
Method
getConstructors
Returns an array containing <code>CtConstructor</code> objects representing all the non-private constructors of the class.
src/main/javassist/CtClass.java:916
↓ 10 callers
Method
getDeclaredMethods
(final Class<?> clazz)
src/main/javassist/util/proxy/SecurityActions.java:57
↓ 10 callers
Method
getFieldrefType
Reads the <code>descriptor_index</code> field of the <code>CONSTANT_NameAndType_info</code> structure indirectly specified by the given index. @param
src/main/javassist/bytecode/ConstPool.java:415
↓ 10 callers
Method
getInputStream
()
src/main/javassist/ByteArrayClassPath.java:114
↓ 10 callers
Method
getModifiers
()
src/main/javassist/CtClassType.java:456
↓ 10 callers
Method
getReflectiveMethods
Returns an array of the methods defined on the given reflective object. This method is for the internal use only.
examples/src/main/javassist/tools/reflect/ClassMetaobject.java:253
↓ 10 callers
Method
getSignature
Returns the generic signature indicated by <code>signature_index</code>. @see #toClassSignature(String) @see #toMethodSignature(String) @see #toField
src/main/javassist/bytecode/SignatureAttribute.java:66
↓ 10 callers
Method
insertGapAt
Inserts an inclusive or exclusive gap in front of the instruction at the given index <code>pos</code>. Branch offsets and the exception table in the m
src/main/javassist/bytecode/CodeIterator.java:637
↓ 10 callers
Method
jvmToJavaName
(String classname)
src/main/javassist/compiler/MemberResolver.java:559
← previous
next →
201–300 of 5,108, ranked by callers