Uses of Class
de.inetsoftware.classparser.ClassFile
-
Packages that use ClassFile Package Description de.inetsoftware.classparser de.inetsoftware.jwebassembly.module -
-
Uses of ClassFile in de.inetsoftware.classparser
Fields in de.inetsoftware.classparser declared as ClassFile Modifier and Type Field Description private ClassFile
MethodInfo. classFile
Methods in de.inetsoftware.classparser that return ClassFile Modifier and Type Method Description ClassFile
MethodInfo. getDeclaringClassFile()
Get the declaring class file of the methodMethods in de.inetsoftware.classparser with parameters of type ClassFile Modifier and Type Method Description void
ClassFile. partial(ClassFile partialClassFile)
Extends this class with the methods and fields of the partial class.(package private) void
MethodInfo. setDeclaringClassFile(java.lang.String origClassName, ClassFile classFile)
Replace the reference to the ClassFileConstructors in de.inetsoftware.classparser with parameters of type ClassFile Constructor Description ClassFile(java.lang.String className, ClassFile classFile)
Create a replaced instance.MethodInfo(java.io.DataInputStream input, ConstantPool constantPool, ClassFile classFile)
Read the method_info structure http://docs.oracle.com/javase/specs/jvms/se7/html/jvms-4.html#jvms-4.6 http://docs.oracle.com/javase/specs/jvms/se5.0/html/ClassFile.doc.html#1513 -
Uses of ClassFile in de.inetsoftware.jwebassembly.module
Fields in de.inetsoftware.jwebassembly.module with type parameters of type ClassFile Modifier and Type Field Description private java.util.HashMap<java.lang.String,ClassFile>
ClassFileLoader. cache
private java.util.HashMap<java.lang.String,ClassFile>
ClassFileLoader. replace
Methods in de.inetsoftware.jwebassembly.module that return ClassFile Modifier and Type Method Description ClassFile
ClassFileLoader. get(java.lang.String className)
Get the ClassFile from cache or load it.Methods in de.inetsoftware.jwebassembly.module with parameters of type ClassFile Modifier and Type Method Description void
ClassFileLoader. cache(ClassFile classFile)
Add a class file to the weak cache.private void
ModuleGenerator. iterateMethods(ClassFile classFile, java.util.function.Consumer<MethodInfo> handler)
Iterate over all methods of the classFile and run the handler.private void
TypeManager.StructType. listInterfaceTypes(ClassFile classFile, TypeManager types, ClassFileLoader classFileLoader, java.util.Set<TypeManager.StructType> interfaceTypes, java.util.Set<java.lang.String> interfaceNames)
List all interface StrucTypes recursively.(package private) void
ClassFileLoader. partial(java.lang.String className, ClassFile partialClassFile)
Add a partial class with the given instance to the loader cache.void
ModuleGenerator. prepare(ClassFile classFile)
Prepare the content of the class.(package private) void
ClassFileLoader. replace(java.lang.String className, ClassFile classFile)
Replace the class in the cache with the given instance to the loader cache.private boolean
ModuleGenerator. scanFunctionInterfaces(ClassFile classFile, FunctionName next)
Search if there is a default implementation in an interface for the given method.private void
JavaMethodWasmCodeBuilder. writeCode(CodeInputStream byteCode, ConstantPool constantPool, ClassFile classFile, AnyType returnType)
Write the byte code of a method.
-