Uses of Class
gnu.bytecode.ClassType
Packages that use ClassType
Package
Description
Contains classes to generate, read,
write, and print Java bytecode in the form of
.class files.Supports
Expression,
and various related classes need to compile programming languages.Contains classes to use reflection.
-
Uses of ClassType in gnu.bytecode
Fields in gnu.bytecode declared as ClassTypeModifier and TypeFieldDescriptionstatic final ClassTypeType.boolean_ctypeDeprecated.protected ClassTypeSpecialObjectType.implementationTypestatic final ClassTypeType.java_lang_Class_typeDeprecated.static final ClassTypestatic final ClassTypeType.javalangBooleanTypestatic final ClassTypestatic final ClassTypeType.javalangClassTypestatic final ClassTypestatic final ClassTypeType.javalangNumberTypestatic final ClassTypeType.javalangObjectTypestatic ClassTypeType.javalangStringTypestatic final ClassTypestatic final ClassType[]ClassType.noClassesstatic final ClassTypeType.number_typeDeprecated.static final ClassTypeType.objectTypestatic final ClassTypeType.pointer_typeDeprecated.static final ClassTypeType.string_typeDeprecated.static final ClassTypeType.throwable_typeMethods in gnu.bytecode that return ClassTypeModifier and TypeMethodDescriptionPrimType.boxedType()ClassType.getAllInterfaces()Get all the interfaces this class implements.AnnotationEntry.getAnnotationType()ClassType.getDeclaredClass(String simpleName) ClassType.getDeclaringClass()final ClassTypeField.getDeclaringClass()Member.getDeclaringClass()Method.getDeclaringClass()final ClassType[]ExceptionsAttr.getExceptions()The types of the exceptions in this attr.final ClassType[]Method.getExceptions()ArrayType.getInterfaces()ClassType.getInterfaces()ObjectType.getInterfaces()SpecialObjectType.getInterfaces()ClassType.getOuterLinkType()ParameterizedType.getRawType()TypeVariable.getRawType()ArrayType.getSuperclass()ClassType.getSuperclass()ObjectType.getSuperclass()SpecialObjectType.getSuperclass()static ClassTypeFind a ClassType with the given name, or create a new one.static ClassTypeDeprecated.static ClassTypeClassFileInput.readClassType(InputStream str) Read a class (in .class format) from an InputStream.Methods in gnu.bytecode with parameters of type ClassTypeModifier and TypeMethodDescriptionvoidvoidCodeAttr.addHandler(Label start_try, Label end_try, ClassType catch_type) Add an exception handler.voidClassType.addInterface(ClassType newInterface) Add an interface to the list of implemented interfaces.voidClassType.addMemberClass(ClassType member) voidAnnotationDefaultAttr.assignConstants(ClassType cl) static voidAttribute.assignConstants(AttrContainer container, ClassType cl) Add any needed constant pool entries for all attributes in a container.voidAttribute.assignConstants(ClassType cl) Add any needed constant pool entries for this Attribute.voidCodeAttr.assignConstants(ClassType cl) voidConstantValueAttr.assignConstants(ClassType cl) voidEnclosingMethodAttr.assignConstants(ClassType cl) voidExceptionsAttr.assignConstants(ClassType cl) voidInnerClassesAttr.assignConstants(ClassType cl) voidLocalVarsAttr.assignConstants(ClassType cl) voidRuntimeAnnotationsAttr.assignConstants(ClassType cl) voidSignatureAttr.assignConstants(ClassType cl) voidSourceDebugExtAttr.assignConstants(ClassType cl) voidSourceFileAttr.assignConstants(ClassType cl) voidCodeAttr.emitCatchStart(ClassType type) voidInvoke new on a class type.final booleanClassType.implementsInterface(ClassType iface) True if this class/interface implements the interface iface.static booleanClassType.isAccessible(ClassType caller, ClassType declaring, ObjectType receiver, int modifiers) Check if a component is accessible from this class.final booleanClassType.isSubclass(ClassType other) static ClassTypeDeprecated.voidstatic voidClassTypeWriter.print(ClassType ctype, PrintStream stream, int flags) static voidClassTypeWriter.print(ClassType ctype, PrintWriter stream, int flags) voidfinal voidField.setConstantValue(Object value, ClassType ctype) Set the ConstantValue attribute for this field.voidExceptionsAttr.setExceptions(short[] indices, ClassType cl) Set the Exceptions attribute to refer to classes whose indices in the constant pool of `cl' are given by `indices'.voidExceptionsAttr.setExceptions(ClassType[] excep_types) Set the Exceptions attribute to refer to the given exception types.voidMethod.setExceptions(ClassType[] exn_types) voidClassType.setInterfaces(ClassType[] interfaces) final FieldClassType.setOuterLink(ClassType outer) Note that this class needs an other link ("this$0") field.static voidSourceFileAttr.setSourceFile(ClassType cl, String filename) voidConstructors in gnu.bytecode with parameters of type ClassTypeModifierConstructorDescriptionAnnotationEntry(ClassType annotationType) ClassFileInput(ClassType ctype, InputStream str) ClassTypeWriter(ClassType ctype, OutputStream stream, int flags) ClassTypeWriter(ClassType ctype, Writer stream, int flags) EnclosingMethodAttr(int class_index, int method_index, ClassType ctype) Add a new Field to a ClassType.InnerClassesAttr(short[] data, ClassType cl) Add a new InnerClassesAttr to a ClassType.A copy constructor, except you can override the declaring class.ParameterizedType(ClassType rawType, Type... typeArgumentTypes) Add a new InnerClassesAttr to a ClassType.SourceFileAttr(int index, ClassType ctype) SpecialObjectType(String name, ClassType implementationType) -
Uses of ClassType in gnu.expr
Modifier and TypeClassDescriptionclassA class type implemented as a pair of an interface and a class.Modifier and TypeFieldDescriptionCompilation.curClassPairClassType.instanceTypestatic ClassTypeCompilation.javaStringTypeCompilation.mainClassCompilation.moduleClassGenerated class that extends ModuleBody.static ClassTypeCompilation.scmBooleanTypestatic ClassTypeCompilation.scmKeywordTypestatic ClassTypeCompilation.scmListTypestatic ClassTypeCompilation.scmSequenceTypestatic ClassTypeCompilation.typeAppletstatic ClassTypeCompilation.typeCallContextstatic ClassTypeCompilation.typeCharSequencestatic ClassTypeCompilation.typeClassstatic ClassTypeCompilation.typeClassTypestatic ClassTypeCompilation.typeCompiledProcstatic final ClassTypeCompilation.typeConsumerstatic ClassTypeCompilation.typeEnvironmentstatic ClassTypeCompilation.typeFieldLocationstatic ClassTypeCompilation.typeLanguagestatic final ClassTypeCompilation.typeListstatic ClassTypeCompilation.typeLocationstatic final ClassTypeCompilation.typeLocationProcstatic ClassTypeCompilation.typeMethodProcstatic ClassTypeCompilation.typeModuleBodystatic ClassTypeCompilation.typeObjectstatic ClassTypeCompilation.typeObjectTypestatic ClassTypeCompilation.typePairstatic ClassTypeCompilation.typeProcedurestatic ClassTypeCompilation.typeProcedure0static ClassTypeCompilation.typeProcedure1static ClassTypeCompilation.typeProcedure2static ClassTypeCompilation.typeProcedure3static ClassTypeCompilation.typeProcedure4static ClassType[]Compilation.typeProcedureArraystatic ClassTypeCompilation.typeProcedureNstatic ClassTypeCompilation.typeRunnablestatic ClassTypeCompilation.typeRunnableModulestatic final ClassTypeConsumerTarget.typeSequencesstatic ClassTypeCompilation.typeServletstatic ClassTypeCompilation.typeStaticFieldLocationstatic ClassTypeCompilation.typeStringstatic ClassTypeCompilation.typeSymbolstatic ClassTypeCompilation.typeTypestatic ClassTypeCompilation.typeValuesModifier and TypeMethodDescriptionLambdaExp.checkForInitCall(Expression bodyFirst) Check if argument is a this(...) or super(...) initializtion.ModuleExp.classFor(Compilation comp) Return the class for this module.ClassExp.compileMembers(Compilation comp) Compilation.findNamedClass(String name) Search this Compilation for a ClassType with a given name.ClassExp.getClassType()The ClassType generated for this class.LambdaExp.getClassType()The ClassType generated for this class.ModuleInfo.getClassType()protected ClassTypeClassExp.getCompiledClassType(Compilation comp) protected ClassTypeLambdaExp.getCompiledClassType(Compilation comp) Return the ClassType of the Procedure this is being compiled into.PrimProcedure.getDeclaringClass()LambdaExp.getHeapFrameType()final ClassType[]ModuleExp.getInterfaces()final ClassTypeCompilation.getModuleType()final ClassTypeModuleExp.getSuperType()Modifier and TypeMethodDescriptionvoidLambdaExp.declareThis(ClassType clas) static ObjectPairClassType.extractStaticLink(ClassType type) This method is called from compiled code.static ModuleInfofinal voidCompilation.generateConstructor(ClassType clas, LambdaExp lexp) static final MethodCompilation.getConstructor(ClassType clas, LambdaExp lexp) static PrimProcedurePrimProcedure.getMethodFor(ClassType procClass, String name, Declaration decl, Type[] atypes, Language language) static PrimProcedurePrimProcedure.getMethodFor(ClassType procClass, String name, Declaration decl, Expression[] args, Language language) voidDeclaration.makeField(ClassType frameType, Compilation comp, Expression value) voidClassExp.setClassType(ClassType type) final voidModuleExp.setInterfaces(ClassType[] s) final voidModuleExp.setSuperType(ClassType s) voidstatic ModuleExp -
Uses of ClassType in gnu.kawa.functions
Fields in gnu.kawa.functions declared as ClassType -
Uses of ClassType in gnu.kawa.lispexpr
Fields in gnu.kawa.lispexpr declared as ClassTypeModifier and TypeFieldDescriptionstatic final ClassTypeGenArrayType.typeArraystatic final ClassTypeLangObjType.typeLangObjTypeMethods in gnu.kawa.lispexpr that return ClassTypeModifier and TypeMethodDescriptionLangPrimType.boxedType()static ClassTypeLangObjType.coerceToClassType(Object obj) static ClassTypeLangObjType.coerceToClassTypeOrNull(Object type) ClassNamespace.getClassType()Methods in gnu.kawa.lispexpr with parameters of type ClassTypeModifier and TypeMethodDescriptionstatic ClassNamespaceClassNamespace.getInstance(String name, ClassType ctype) Constructors in gnu.kawa.lispexpr with parameters of type ClassType -
Uses of ClassType in gnu.kawa.reflect
Fields in gnu.kawa.reflect declared as ClassTypeModifier and TypeFieldDescriptionstatic final ClassTypeLazyType.lazyTypestatic final ClassTypeLazyType.promiseTypestatic final ClassTypeOccurrenceType.typeOccurrenceTypeMethods in gnu.kawa.reflect that return ClassTypeMethods in gnu.kawa.reflect with parameters of type ClassTypeModifier and TypeMethodDescriptionstatic LazyTypeLazyType.getInstance(ClassType rawType, Type valueType) static PrimProcedure[]ClassMethods.getMethods(ObjectType dtype, String mname, char mode, ClassType caller, Language language) Return the methods of a class with the specified name and flag.protected static PrimProcedure[]CompileInvoke.getMethods(ObjectType ctype, String mname, ClassType caller, Invoke iproc) static PrimProcedureCompileInvoke.getStaticMethod(ClassType type, String name, Expression[] args) static PrimProcedureInvoke.getStaticMethod(ClassType type, String name, Expression[] args) Deprecated.protected voidCompileBuildObject.init(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller) static MemberSlotGet.lookupMember(ObjectType clas, String name, ClassType caller) Get a named property - field or member class or 'get' accessor method.static MemberSlotSet.lookupMember(ObjectType clas, String name, ClassType caller) Get a setter property - field or 'set' accessor method.static CompileBuildObjectCompileBuildObject.make(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller) static ApplyExpInvoke.makeInvokeStatic(ClassType type, String name, Expression... args) Return an ApplyExp that will call a method with given arguments.Constructors in gnu.kawa.reflect with parameters of type ClassTypeModifierConstructorDescriptionClassMemberLocation(Object instance, ClassType type, String mname) FieldLocation(Object instance, ClassType type, String mname) MakeAnnotation(ClassType annotationType) StaticFieldLocation(ClassType type, String mname) -
Uses of ClassType in gnu.kawa.xml
Fields in gnu.kawa.xml declared as ClassTypeModifier and TypeFieldDescriptionstatic final ClassTypeFocus.TYPEstatic final ClassTypeAttributeType.typeAttributeTypestatic final ClassTypeElementType.typeElementTypestatic final ClassTypeNodeType.typeKNodestatic final ClassTypeCoerceNodes.typeNodesstatic final ClassTypeNodeType.typeNodeTypestatic final ClassTypeProcessingInstructionType.typeProcessingInstructionTypestatic final ClassTypeSortNodes.typeSortedNodes -
Uses of ClassType in gnu.xquery.util
Fields in gnu.xquery.util declared as ClassType -
Uses of ClassType in kawa.lang
Modifier and TypeMethodDescriptionstatic ClassTypeRecord.makeRecordType(String name, LList fnames) ModifierConstructorDescriptionGetFieldProc(ClassType ctype, String fname) GetFieldProc(ClassType ctype, String name, Type ftype, int flags) RecordConstructor(ClassType type) RecordConstructor(ClassType type, Field[] fields) RecordConstructor(ClassType type, Object fieldsList) SetFieldProc(ClassType ctype, String fname) SetFieldProc(ClassType ctype, String name, Type ftype, int flags)