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
↓ 6 callers
Method
isReader
Returns true if the field is read.
src/main/javassist/expr/FieldAccess.java:95
↓ 6 callers
Method
isRightDecl
(Declarator d, int type, int dim, String cname)
src/test/javassist/compiler/CompTest.java:100
↓ 6 callers
Method
isUninit
()
src/main/javassist/bytecode/stackmap/TypeData.java:78
↓ 6 callers
Method
jsrJmp
(Bytecode b)
src/main/javassist/compiler/MemberCodeGen.java:133
↓ 6 callers
Method
lastCons
()
src/main/javassist/CtMember.java:76
↓ 6 callers
Method
lineNumber
Returns <code>line_number_table[i].line_number</code>. This represents the corresponding line number in the original source file. @param i th
src/main/javassist/bytecode/LineNumberAttribute.java:68
↓ 6 callers
Method
loadClass
(ClassLoader cl, String classname)
src/main/javassist/bytecode/annotation/MemberValue.java:52
↓ 6 callers
Method
locals
Invoked when <code>locals</code> of <code>stack_map_frame</code> is visited.
src/main/javassist/bytecode/StackMap.java:155
↓ 6 callers
Method
logging2
Prints a log message with indentation.
examples/src/main/javassist/tools/web/Webserver.java:182
↓ 6 callers
Method
make
Computes the stack map table of the given method and returns it. It returns null if the given method does not have to have a stack map table or it inc
src/main/javassist/bytecode/stackmap/MapMaker.java:96
↓ 6 callers
Method
makeInterface
Creates a new public interface. If there already exists a class/interface with the same name, the new interface overwrites that previous one. @param
src/main/javassist/ClassPool.java:865
↓ 6 callers
Method
newOffset
(int i, int offset, int where, int gapLength, boolean exclusive)
src/main/javassist/bytecode/CodeIterator.java:1020
↓ 6 callers
Method
openClassfile
Opens a class file. This method may be called just to examine whether the class file exists as well as to read the contents of the file. <p>This meth
src/main/javassist/ClassPath.java:51
↓ 6 callers
Method
parseBlock
(SymbolTable tbl)
src/main/javassist/compiler/Parser.java:300
↓ 6 callers
Method
parseClassType
(SymbolTable tbl)
src/main/javassist/compiler/Parser.java:1006
↓ 6 callers
Method
parseObjectType
(String sig, Cursor c, boolean dontThrow)
src/main/javassist/bytecode/SignatureAttribute.java:1193
↓ 6 callers
Method
patchGoto
(List<Integer> list, int targetPc)
src/main/javassist/compiler/CodeGen.java:487
↓ 6 callers
Method
rebuildStackMap
(CtClass cc, ClassPool cp, MethodInfo minfo)
src/test/javassist/bytecode/StackMapTest.java:60
↓ 6 callers
Method
resolveClassInfo
(String info)
src/main/javassist/bytecode/analysis/Executor.java:1010
↓ 6 callers
Method
run
Loads a class and calls <code>main()</code> in that class. @param args command line parameters. <br> {@code args[0]} is the
src/main/javassist/Loader.java:314
↓ 6 callers
Method
setAccessFlags
Sets the access flags. @see AccessFlag
src/main/javassist/bytecode/FieldInfo.java:173
↓ 6 callers
Method
setAttribute
Adds a stack map table. If another copy of stack map table is already contained, the old one is removed. @param smt the stack map table added
src/main/javassist/bytecode/CodeAttribute.java:334
↓ 6 callers
Method
setMaxLocals
Sets <code>maxLocals</code> to <code>max</code>. This method tells the compiler the local variables that have been allocated for the rest of the code.
src/main/javassist/compiler/Javac.java:381
↓ 6 callers
Method
setName
Changes the name of this method.
src/main/javassist/CtMethod.java:223
↓ 6 callers
Method
setStackDepth
Sets the current stack depth. It also updates <code>max_stack</code> if the current stack depth is the deepest so far. @param depth new value.
src/main/javassist/bytecode/Bytecode.java:448
↓ 6 callers
Method
shift
(int where, int gapLength, boolean exclusive)
src/main/javassist/bytecode/CodeIterator.java:1325
↓ 6 callers
Method
shiftPc
(int where, int gapSize, boolean exclusive)
src/main/javassist/bytecode/StackMapTable.java:825
↓ 6 callers
Method
size
Returns the number of key-value mappings in this map. <strong>Note:</strong> <em>In contrast with most implementations of the <code>Map</code> interfa
src/main/javassist/scopedpool/SoftValueHashMap.java:156
↓ 6 callers
Method
skipSpaces
(CommentSkipper reader, int c)
examples/sample/preproc/Compiler.java:212
↓ 6 callers
Method
storeStack
(CtClass[] params, boolean isStaticCall, int regno, Bytecode bytecode)
src/main/javassist/expr/Expr.java:230
↓ 6 callers
Method
toAnnotationType
(boolean ignoreNotFound, ClassPool cp, AnnotationsAttribute a1, AnnotationsAttrib
src/main/javassist/CtClassType.java:662
↓ 6 callers
Method
toModifier
Converts a javassist.bytecode.AccessFlag into a javassist.Modifier. @param accflags javassist.bytecode.Accessflag
src/main/javassist/bytecode/AccessFlag.java:132
↓ 6 callers
Method
visitReturn
(int pos, byte[] code)
src/main/javassist/bytecode/stackmap/Tracer.java:87
↓ 6 callers
Method
withinStatic
Returns true if this method is static.
src/main/javassist/expr/Expr.java:92
↓ 6 callers
Method
write
Writes an 8bit value at the offset from the beginning of the bytecode sequence. @throws ArrayIndexOutOfBoundsException if offset is invalid.
src/main/javassist/bytecode/Bytecode.java:361
↓ 6 callers
Method
writeVerifyTypeInfo
Writes a <code>union verification_type_info</code> value. @param data <code>cpool_index</code> or <code>offset</code>.
src/main/javassist/bytecode/StackMap.java:577
↓ 5 callers
Method
addConstZero
Appends an instruction for pushing zero or null on the stack. If the type is void, this method does not append any instruction. @param type the
src/main/javassist/bytecode/Bytecode.java:527
↓ 5 callers
Method
addDconst
Appends DCONST or DCONST_<n> @param d the pushed double constant.
src/main/javassist/bytecode/Bytecode.java:637
↓ 5 callers
Method
addField
Appends a field to the class. @throws DuplicateMemberException when the field is already included.
src/main/javassist/bytecode/ClassFile.java:597
↓ 5 callers
Method
addGap
Appends the length-byte gap to the end of the bytecode sequence. @param length the gap length in byte.
src/main/javassist/bytecode/Bytecode.java:404
↓ 5 callers
Method
addLocalVariable
Declares a new local variable. The scope of this variable is the whole method body. The initial value of that variable is not set. The declared vari
src/main/javassist/CtBehavior.java:611
↓ 5 callers
Method
addMethod
(CtMethod method, CtClass target)
src/test/javassist/bytecode/InsertGap0.java:201
↓ 5 callers
Method
alreadySet
()
src/main/javassist/bytecode/stackmap/TypedBlock.java:85
↓ 5 callers
Method
atNumCastExpr
(int srcType, int destType)
src/main/javassist/compiler/CodeGen.java:1521
↓ 5 callers
Method
bar
()
src/test/javassist/bytecode/StackMapTest.java:211
↓ 5 callers
Method
catchType
Returns <code>catchType</code> of the <i>n</i>-th entry. @param nth the <i>n</i>-th (>= 0). @return an index into the <code>constant
src/main/javassist/bytecode/ExceptionTable.java:156
↓ 5 callers
Method
changeMsig2
(String old, String oldname, String result, String newname)
src/test/javassist/bytecode/BytecodeTest.java:494
↓ 5 callers
Method
clear
Clears a specified bit in <code>accflags</code>.
src/main/javassist/bytecode/AccessFlag.java:112
↓ 5 callers
Method
compact
Eliminates dead constant pool items. If a method or a field is removed, the constant pool items used by that method/field become dead items. This meth
src/main/javassist/bytecode/ClassFile.java:239
↓ 5 callers
Method
compareTo
(Mark obj)
src/main/javassist/bytecode/stackmap/BasicBlock.java:131
↓ 5 callers
Method
convToString
(int type, int dim, int lineNumber)
src/main/javassist/compiler/CodeGen.java:1165
↓ 5 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/CodeAttribute.java:134
↓ 5 callers
Method
copy
(ConstPool src, ConstPool dest, Map<String,String> map)
src/main/javassist/bytecode/ConstPool.java:2058
↓ 5 callers
Method
debugWriteFile
Writes a class file as <code>writeFile()</code> does although this method does not prune or freeze the class after writing the class file. Note that,
src/main/javassist/CtClass.java:1595
↓ 5 callers
Method
detach
Removes this <code>CtClass</code> object from the <code>ClassPool</code>. After this method is called, any method cannot be called on the removed <cod
src/main/javassist/CtClass.java:1425
↓ 5 callers
Method
doTestRuntime
(String src, int stackOffset, int lineNumber)
src/test/javassist/LineNumberTest.java:91
↓ 5 callers
Method
doXLOAD
(TypeData type, byte[] code, int pos)
src/main/javassist/bytecode/stackmap/Tracer.java:274
↓ 5 callers
Method
doXSTORE
(int pos, byte[] code, TypeData type)
src/main/javassist/bytecode/stackmap/Tracer.java:407
↓ 5 callers
Method
equals
(Object o)
src/test/test/javassist/proxy/ProxySerializationTest.java:94
↓ 5 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:1900
↓ 5 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:1950
↓ 5 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:2000
↓ 5 callers
Method
equals
(Object obj)
src/main/javassist/bytecode/ConstPool.java:2102
↓ 5 callers
Method
find
Returns the uniform resource locator (URL) of the class file with the specified name. @param classname a fully-qualified class name. @return
src/main/javassist/ClassPath.java:60
↓ 5 callers
Method
findClassPool
Finds a scoped classpool registered under the passed in classloader. @param cl the classloader. @return the classpool.
src/main/javassist/scopedpool/ScopedClassPoolRepository.java:69
↓ 5 callers
Method
get0
@param useCache false if the cached CtClass must be ignored. @return null if the class could not be found.
src/main/javassist/ClassPool.java:502
↓ 5 callers
Method
getAllInterfaces
(CtClass clazz, Map<String,CtClass> map)
src/main/javassist/bytecode/analysis/Type.java:521
↓ 5 callers
Method
getArrayDim
()
src/main/javassist/compiler/ast/Declarator.java:75
↓ 5 callers
Method
getCached
Provide a hook so that subclasses can do their own caching of classes. @see #cacheCtClass(String,CtClass,boolean) @see #removeCached(String)
src/main/javassist/ClassPool.java:224
↓ 5 callers
Method
getCodeLength
Returns <code>code_length</code>.
src/main/javassist/bytecode/CodeAttribute.java:277
↓ 5 callers
Method
getDataSize
Returns the data size of the primitive type. If the type is long or double, this method returns 2. Otherwise, it returns 1.
src/main/javassist/CtPrimitiveType.java:113
↓ 5 callers
Method
getDeclaredFields
Gets all the fields declared in the class. The inherited fields are not included. <p>Note: the result does not include inherited fields.
src/main/javassist/CtClass.java:877
↓ 5 callers
Method
getDeclaringClass
Returns the class declaring the field.
src/main/javassist/CtField.java:211
↓ 5 callers
Method
getInterfaceMethodrefClassName
Reads the <code>class_index</code> field of the <code>CONSTANT_InterfaceMethodref_info</code> structure at the given index. @return the name of the c
src/main/javassist/bytecode/ConstPool.java:521
↓ 5 callers
Method
getInterfaceMethodrefType
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:568
↓ 5 callers
Method
getInterfaces
Obtains the interfaces set by <code>setInterfaces</code>. @since 3.4
src/main/javassist/util/proxy/ProxyFactory.java:431
↓ 5 callers
Method
getJavaClass
Obtains the <code>java.lang.Class</code> representing this class.
examples/src/main/javassist/tools/reflect/ClassMetaobject.java:112
↓ 5 callers
Method
getMethodArgsLength
(ASTList args)
src/main/javassist/compiler/TypeChecker.java:786
↓ 5 callers
Method
getName
Obtains the name of this method.
src/main/javassist/CtMethod.java:215
↓ 5 callers
Method
getName
Obtains the name of the member. <p>As for constructor names, see <code>getName()</code> in <code>CtConstructor</code>. @see CtConstructor#getName()
src/main/javassist/CtMember.java:289
↓ 5 callers
Method
getName
Returns the field name.
src/main/javassist/bytecode/FieldInfo.java:144
↓ 5 callers
Method
getNameAndTypeDescriptor
Reads the <code>descriptor_index</code> field of the <code>CONSTANT_NameAndType_info</code> structure at the given index.
src/main/javassist/bytecode/ConstPool.java:315
↓ 5 callers
Method
getParameterTypes
Returns an array of <code>Class</code> objects representing the formal parameter types of the method specified by <code>identifier</code>.
examples/src/main/javassist/tools/reflect/Metaobject.java:143
↓ 5 callers
Method
getStringRep
()
src/main/javassist/CtMethod.java:182
↓ 5 callers
Method
getTag
()
src/main/javassist/bytecode/ConstPool.java:2055
↓ 5 callers
Method
getType
()
src/main/javassist/compiler/ast/Declarator.java:73
↓ 5 callers
Method
getURLClassLoader
(String context)
src/test/scoped/ScopedRepositoryTestCase.java:235
↓ 5 callers
Method
getVar
(int size)
src/main/javassist/compiler/MemberCodeGen.java:124
↓ 5 callers
Method
hasMemberCache
Returns null if members are not cached.
src/main/javassist/CtClassType.java:966
↓ 5 callers
Method
hashCode
()
src/main/javassist/bytecode/ConstPool.java:2047
↓ 5 callers
Method
init
()
src/main/javassist/CtClass.java:1629
↓ 5 callers
Method
insertEx
Inserts the given bytecode sequence exclusively before the next instruction that would be returned by <code>next()</code> (not before the instruction
src/main/javassist/bytecode/CodeIterator.java:434
↓ 5 callers
Method
isBasicType
If the type is a basic type, this method normalizes the type and returns a BasicType object. Otherwise, it returns null.
src/main/javassist/bytecode/stackmap/TypeData.java:69
↓ 5 callers
Method
isClassInitializer
Returns true if this object represents a static initializer.
src/main/javassist/CtConstructor.java:123
↓ 5 callers
Method
isInterface
Determines whether this object represents a class or an interface. It returns <code>true</code> if this object represents an interface.
src/main/javassist/CtClass.java:559
↓ 5 callers
Method
isProtected
Returns true if the modifiers include the <code>protected</code> modifier.
src/main/javassist/Modifier.java:68
↓ 5 callers
Method
lookAhead
(CodeIterator iter, int pos)
src/main/javassist/bytecode/analysis/Analyzer.java:267
↓ 5 callers
Method
lookup
(List<AttributeInfo> attributes, String name)
src/main/javassist/bytecode/AttributeInfo.java:218
↓ 5 callers
Method
make
Compiles the given source code and creates a constructor. The source code must include not only the constructor body but the whole declaration. @para
src/main/javassist/CtNewConstructor.java:66
↓ 5 callers
Method
makeNestedClass
Makes a new public nested class. If this method is called, the <code>CtClass</code>, which encloses the nested class, is modified since a class file
src/main/javassist/CtClass.java:831
← previous
next →
501–600 of 5,108, ranked by callers