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
↓ 2 callers
Method
setClassFile
Updates {@code classfile} if it is null.
src/main/javassist/CtClassType.java:298
↓ 2 callers
Method
setClassName
(String s)
src/main/javassist/compiler/ast/Declarator.java:81
↓ 2 callers
Method
setCode
Sets <code>code[]</code>.
src/main/javassist/bytecode/CodeAttribute.java:291
↓ 2 callers
Method
setDefaultValue
Changes the default value represented by this attribute. @param value the new value. @see javassist.bytecode.annotation.Annotation#createMemb
src/main/javassist/bytecode/AnnotationDefaultAttribute.java:162
↓ 2 callers
Method
setFieldTarget
(boolean notStatic, int index)
src/main/javassist/bytecode/stackmap/Tracer.java:746
↓ 2 callers
Method
setInterceptor
()
src/test/test3/Enhancer.java:171
↓ 2 callers
Method
setMajorVersion
Set the major version. @param major the major version
src/main/javassist/bytecode/ClassFile.java:880
↓ 2 callers
Method
setMark
Sets a mark to the bytecode at the given index. The mark can be used to track the position of that bytecode when code blocks are inserted. If a code b
src/main/javassist/bytecode/CodeIterator.java:97
↓ 2 callers
Method
setMaxLocals
(int n)
src/main/javassist/compiler/CodeGen.java:134
↓ 2 callers
Method
setModifiers
(int mod)
src/main/javassist/CtClassType.java:502
↓ 2 callers
Method
setName
(String name)
src/main/javassist/CtClassType.java:374
↓ 2 callers
Method
setOprand2
(ASTree expr)
src/main/javassist/compiler/ast/Expr.java:66
↓ 2 callers
Method
setPublic
Truns the public bit on. The protected and private bits are cleared.
src/main/javassist/Modifier.java:184
↓ 2 callers
Method
setSignature
Sets <code>signature_index</code> to the index of the given generic signature, which is added to a constant pool. @param sig new signature. @si
src/main/javassist/bytecode/SignatureAttribute.java:77
↓ 2 callers
Method
setThisMethod
Records the currently compiled method.
src/main/javassist/compiler/TypeChecker.java:124
↓ 2 callers
Method
setType
(CtClass type, int lineNumber)
src/main/javassist/compiler/JvstTypeChecker.java:272
↓ 2 callers
Method
setUseCache
configure whether this factory should use the proxy cache @param useCache true if this factory should use the proxy cache and false if it should not u
src/main/javassist/util/proxy/ProxyFactory.java:309
↓ 2 callers
Method
setValue
(boolean value)
src/test/test5/JIRA242.java:5
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/BooleanMemberValue.java:82
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/CharMemberValue.java:83
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/ByteMemberValue.java:82
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/FloatMemberValue.java:84
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/LongMemberValue.java:83
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/ShortMemberValue.java:83
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/DoubleMemberValue.java:84
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/IntegerMemberValue.java:89
↓ 2 callers
Method
setValue
Sets the value of the member.
src/main/javassist/bytecode/annotation/StringMemberValue.java:83
↓ 2 callers
Method
setVariable
(Symbol sym)
src/main/javassist/compiler/ast/Declarator.java:85
↓ 2 callers
Method
setX
(int x)
src/test/javassist/proxyfactory/ProxyFactoryTest.java:71
↓ 2 callers
Method
shiftIndex
For each <code>local_variable_table[i].index</code>, this method increases <code>index</code> by <code>delta</code>. @param lessThan the index d
src/main/javassist/bytecode/LocalVariableAttribute.java:142
↓ 2 callers
Method
shiftIndex0
(CodeIterator ci, int index, int opcode, int lessThan, int delta,
src/main/javassist/bytecode/CodeAttribute.java:726
↓ 2 callers
Method
shiftPc
Adjusts start_pc and length if bytecode is inserted in a method body.
src/main/javassist/bytecode/LocalVariableAttribute.java:184
↓ 2 callers
Method
size
()
src/main/javassist/bytecode/LongVector.java:37
↓ 2 callers
Method
skipHeader
(InputStream in)
examples/src/main/javassist/tools/rmi/ObjectImporter.java:282
↓ 2 callers
Method
sourceCode
()
src/main/javassist/tools/Callback.java:82
↓ 2 callers
Method
startPc
Returns <code>local_variable_table[i].start_pc</code>. This represents the index into the code array from which the local variable is effective. @par
src/main/javassist/bytecode/LocalVariableAttribute.java:166
↓ 2 callers
Method
string
Makes an <code>String</code> constant. @param s the constant value.
src/main/javassist/CtMethod.java:349
↓ 2 callers
Method
subclassOf
A factory method constructing a <code>TypeArgument</code> with an upper bound. It represents <code><? extends ... ></code> @param t an uppe
src/main/javassist/bytecode/SignatureAttribute.java:633
↓ 2 callers
Method
supertypeTarget
(int pos, int superTypeIndex)
src/main/javassist/bytecode/TypeAnnotationsAttribute.java:193
↓ 2 callers
Method
testRemove3
(CtClass cc, String methodName)
src/test/javassist/JvstTest2.java:1288
↓ 2 callers
Method
throwsTarget
(int pos, int throwsTypeIndex)
src/main/javassist/bytecode/TypeAnnotationsAttribute.java:202
↓ 2 callers
Method
toByteArray
Converts the written data into a byte array.
src/main/javassist/bytecode/StackMap.java:561
↓ 2 callers
Method
toByteArray
Returns the stack map table written out.
src/main/javassist/bytecode/StackMapTable.java:576
↓ 2 callers
Method
toClass
Loads a class file by a given class loader. This method uses a default protection domain for the class but it may not work with a security manager or
src/main/javassist/util/proxy/FactoryHelper.java:110
↓ 2 callers
Method
toClassSignature
Parses the given signature string as a class signature. @param sig the signature obtained from the <code>SignatureAttribute</code>
src/main/javassist/bytecode/SignatureAttribute.java:1052
↓ 2 callers
Method
toCtClass
(Class<?> rtclass)
examples/src/main/javassist/tools/rmi/StubGenerator.java:181
↓ 2 callers
Method
toExceptionType
(int exceptionType)
src/main/javassist/bytecode/stackmap/MapMaker.java:280
↓ 2 callers
Method
toJvmArrayName
@param name the JVM-internal representation. name is not exapnded to java.lang. .
src/main/javassist/compiler/CodeGen.java:194
↓ 2 callers
Method
toLineNumber
Returns the line number corresponding to the specified bytecode. @param pc the index into the code array.
src/main/javassist/bytecode/LineNumberAttribute.java:77
↓ 2 callers
Method
toLineNumberAttribute
()
src/main/javassist/compiler/JvstCodeGenWitlLineNumber.java:16
↓ 2 callers
Method
toMethod
Makes a copy of this constructor and converts it into a method. The signature of the mehtod is the same as the that of this constructor. The return ty
src/main/javassist/CtConstructor.java:326
↓ 2 callers
Method
toRefType
(String className)
src/main/javassist/util/HotSwapper.java:197
↓ 2 callers
Method
toString
Returns the string representation.
src/main/javassist/bytecode/SignatureAttribute.java:546
↓ 2 callers
Method
toString2
(StringBuilder sbuf)
src/main/javassist/bytecode/SignatureAttribute.java:865
↓ 2 callers
Method
traceException
(byte[] code, TypedBlock.Catch handler)
src/main/javassist/bytecode/stackmap/MapMaker.java:213
↓ 2 callers
Method
trapFieldRead
Is invoked when public fields of the base-level class are read and the runtime system intercepts it. This method simply returns the value of the field
examples/src/main/javassist/tools/reflect/Metaobject.java:162
↓ 2 callers
Method
trapFieldWrite
Is invoked when public fields of the base-level class are modified and the runtime system intercepts it. This method simply sets the field to the give
examples/src/main/javassist/tools/reflect/Metaobject.java:182
↓ 2 callers
Method
trapMethodcall
Is invoked when base-level method invocation is intercepted. This method simply executes the intercepted method invocation with the original parameter
examples/src/main/javassist/tools/reflect/Metaobject.java:228
↓ 2 callers
Method
typeArgumentTarget
(int pos, int targetType, int offset, int typeArgumentIndex)
src/main/javassist/bytecode/TypeAnnotationsAttribute.java:223
↓ 2 callers
Method
typeIndex
Returns an index for accessing arrays in this class. @throws RuntimeException if a given type is not a primitive type.
src/main/javassist/util/proxy/FactoryHelper.java:42
↓ 2 callers
Method
typeInfo
Invoked when an element of <code>verification_type_info</code> (except <code>Object_variable_info</code> and <code>Uninitialized_variable_info</code>)
src/main/javassist/bytecode/StackMap.java:207
↓ 2 callers
Method
typeInfoArray2
(int k, int pos)
src/main/javassist/bytecode/StackMap.java:182
↓ 2 callers
Method
typeParameterBoundTarget
(int pos, int targetType, int typeParameterIndex, int boundIndex)
src/main/javassist/bytecode/TypeAnnotationsAttribute.java:195
↓ 2 callers
Method
typeParameterTarget
(int pos, int targetType, int typeParameterIndex)
src/main/javassist/bytecode/TypeAnnotationsAttribute.java:190
↓ 2 callers
Method
typeTagOf
Returns the tag of the type specified by the descriptor. This method returns <code>INTEGER</code> unless the descriptor is either D (double), F (floa
src/main/javassist/bytecode/StackMapTable.java:489
↓ 2 callers
Method
uninitialized
Invoked when an element of type <code>Uninitialized_variable_info</code> is visited.
src/main/javassist/bytecode/StackMap.java:219
↓ 2 callers
Method
updateMax
(int locals, int stack)
src/main/javassist/expr/ExprEditor.java:172
↓ 2 callers
Method
validateTypeData
(TypeData[] data, int length, int index)
src/main/javassist/bytecode/stackmap/MapMaker.java:315
↓ 2 callers
Method
variableNameByIndex
Returns the name of the local variable with given index. If you want to get the parameter name of method with correct order, you should using this met
src/main/javassist/bytecode/LocalVariableAttribute.java:227
↓ 2 callers
Method
verifyArrayLoad
(CtClass clazz, CtMethod method, String component)
src/test/test/javassist/bytecode/analysis/AnalyzerTest.java:112
↓ 2 callers
Method
verifyTypeInfo
(int pos, int n, int[] tags, int[] data)
src/main/javassist/bytecode/StackMapTable.java:354
↓ 2 callers
Method
visitGoto
(int pos, byte[] code, int offset)
src/main/javassist/bytecode/stackmap/Tracer.java:86
↓ 2 callers
Method
visitJSR
Invoked when the visited instruction is jsr. Java6 or later does not allow using RET.
src/main/javassist/bytecode/stackmap/Tracer.java:114
↓ 2 callers
Method
visitRET
Invoked when the visited instruction is ret or wide ret. Java6 or later does not allow using RET.
src/main/javassist/bytecode/stackmap/Tracer.java:127
↓ 2 callers
Method
wasInvokedOnce
()
src/test/testproxy/Target189.java:20
↓ 2 callers
Method
write16bit
Writes a 16 bit integer at the index.
src/main/javassist/bytecode/CodeIterator.java:183
↓ 2 callers
Method
writeVarTypeInfo
()
src/main/javassist/bytecode/StackMap.java:376
↓ 2 callers
Method
writeVerifyTypeInfo
(StackMap.Writer writer, ConstPool cp, TypeData[] types, int num)
src/main/javassist/bytecode/stackmap/MapMaker.java:593
↓ 1 callers
Method
_dfoo
()
src/test/testproxy/Target2.java:15
↓ 1 callers
Method
_getObjectId
()
examples/src/main/javassist/tools/rmi/Proxy.java:25
↓ 1 callers
Method
aastore
(TypeData array, TypeData value, ClassPool cp)
src/main/javassist/bytecode/stackmap/TypeData.java:592
↓ 1 callers
Method
accept
(Visitor v)
src/main/javassist/compiler/ast/Member.java:41
↓ 1 callers
Method
accessAll
(String filename)
src/test/javassist/ClassPoolBench.java:27
↓ 1 callers
Method
accessClass
(String name)
src/test/javassist/ClassPoolBench.java:10
↓ 1 callers
Method
accessFlags
Returns the value of <code>access_flags</code> of the i-th element of <code>parameters</code>. @param i the position of the parameter. @see A
src/main/javassist/bytecode/MethodParametersAttribute.java:75
↓ 1 callers
Method
accessed
()
src/main/javassist/bytecode/analysis/Subroutine.java:56
↓ 1 callers
Method
add
Appends an 8bit value of bytecode. @see Opcode
src/main/javassist/bytecode/ClassFileWriter.java:412
↓ 1 callers
Method
addAnnotation
Adds an annotation. If there is an annotation with the same type, it is removed before the new annotation is added. @param annotation the add
src/main/javassist/bytecode/AnnotationsAttribute.java:216
↓ 1 callers
Method
addAttribute
Appends an attribute. If there is already an attribute with the same name, the new one substitutes for it. @see #getAttributes()
src/main/javassist/bytecode/FieldInfo.java:263
↓ 1 callers
Method
addBodyMethod
(CtClassType clazz, ClassFile classfile,
src/main/javassist/CtNewWrappedMethod.java:143
↓ 1 callers
Method
addCaller
(int caller)
src/main/javassist/bytecode/analysis/Subroutine.java:40
↓ 1 callers
Method
addCatchers
(BasicBlock[] blocks, ExceptionTable et)
src/main/javassist/bytecode/stackmap/BasicBlock.java:394
↓ 1 callers
Method
addClass
(String clazz)
src/main/javassist/bytecode/PermittedSubclassesAttribute.java:60
↓ 1 callers
Method
addClassInitializer
(ClassFile cf, ConstPool cp, String classname, int size, List<Find2MethodsArgs> forwarders)
src/main/javassist/util/proxy/ProxyFactory.java:1063
↓ 1 callers
Method
addConstructor
(CtConstructor c)
src/main/javassist/CtNewClass.java:55
↓ 1 callers
Method
addDynamicInfo
Adds a new <code>CONSTANT_Dynamic_info</code> structure. @param bootstrap <code>bootstrap_method_attr_index</code>. @param nameAndType <code>name_a
src/main/javassist/bytecode/ConstPool.java:1259
↓ 1 callers
Method
addEntry
Appends a new entry to <code>local_variable_table</code>. @param startPc <code>start_pc</code> @param length <code>length</code>
src/main/javassist/bytecode/LocalVariableAttribute.java:81
↓ 1 callers
Method
addField
(CtField f, String init)
src/main/javassist/CtClassType.java:1382
↓ 1 callers
Method
addField2
Just appends a field to the class. It does not check field duplication. Use this method only when minimizing performance overheads is seriously requir
src/main/javassist/bytecode/ClassFile.java:610
↓ 1 callers
Method
addFinally
Adds a finally clause for earch return statement.
src/main/javassist/compiler/MemberCodeGen.java:303
← previous
next →
1,401–1,500 of 5,108, ranked by callers