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 ClassType
Type.boolean_ctype
Deprecated.protected ClassType
SpecialObjectType.implementationType
static final ClassType
Type.java_lang_Class_type
Deprecated.static final ClassType
static final ClassType
Type.javalangBooleanType
static final ClassType
static final ClassType
Type.javalangClassType
static final ClassType
static final ClassType
Type.javalangNumberType
static final ClassType
Type.javalangObjectType
static ClassType
Type.javalangStringType
static final ClassType
static final ClassType[]
ClassType.noClasses
static final ClassType
Type.number_type
Deprecated.static final ClassType
Type.objectType
static final ClassType
Type.pointer_type
Deprecated.static final ClassType
Type.string_type
Deprecated.static final ClassType
Type.throwable_type
Methods 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 ClassType
Field.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 ClassType
Find a ClassType with the given name, or create a new one.static ClassType
Deprecated.static ClassType
ClassFileInput.readClassType
(InputStream str) Read a class (in .class format) from an InputStream.Methods in gnu.bytecode with parameters of type ClassTypeModifier and TypeMethodDescriptionvoid
void
CodeAttr.addHandler
(Label start_try, Label end_try, ClassType catch_type) Add an exception handler.void
ClassType.addInterface
(ClassType newInterface) Add an interface to the list of implemented interfaces.void
ClassType.addMemberClass
(ClassType member) void
AnnotationDefaultAttr.assignConstants
(ClassType cl) static void
Attribute.assignConstants
(AttrContainer container, ClassType cl) Add any needed constant pool entries for all attributes in a container.void
Attribute.assignConstants
(ClassType cl) Add any needed constant pool entries for this Attribute.void
CodeAttr.assignConstants
(ClassType cl) void
ConstantValueAttr.assignConstants
(ClassType cl) void
EnclosingMethodAttr.assignConstants
(ClassType cl) void
ExceptionsAttr.assignConstants
(ClassType cl) void
InnerClassesAttr.assignConstants
(ClassType cl) void
LocalVarsAttr.assignConstants
(ClassType cl) void
RuntimeAnnotationsAttr.assignConstants
(ClassType cl) void
SignatureAttr.assignConstants
(ClassType cl) void
SourceDebugExtAttr.assignConstants
(ClassType cl) void
SourceFileAttr.assignConstants
(ClassType cl) void
CodeAttr.emitCatchStart
(ClassType type) void
Invoke new on a class type.final boolean
ClassType.implementsInterface
(ClassType iface) True if this class/interface implements the interface iface.static boolean
ClassType.isAccessible
(ClassType caller, ClassType declaring, ObjectType receiver, int modifiers) Check if a component is accessible from this class.final boolean
ClassType.isSubclass
(ClassType other) static ClassType
Deprecated.void
static void
ClassTypeWriter.print
(ClassType ctype, PrintStream stream, int flags) static void
ClassTypeWriter.print
(ClassType ctype, PrintWriter stream, int flags) void
final void
Field.setConstantValue
(Object value, ClassType ctype) Set the ConstantValue attribute for this field.void
ExceptionsAttr.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'.void
ExceptionsAttr.setExceptions
(ClassType[] excep_types) Set the Exceptions attribute to refer to the given exception types.void
Method.setExceptions
(ClassType[] exn_types) void
ClassType.setInterfaces
(ClassType[] interfaces) final Field
ClassType.setOuterLink
(ClassType outer) Note that this class needs an other link ("this$0") field.static void
SourceFileAttr.setSourceFile
(ClassType cl, String filename) void
Constructors 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 TypeClassDescriptionclass
A class type implemented as a pair of an interface and a class.Modifier and TypeFieldDescriptionCompilation.curClass
PairClassType.instanceType
static ClassType
Compilation.javaStringType
Compilation.mainClass
Compilation.moduleClass
Generated class that extends ModuleBody.static ClassType
Compilation.scmBooleanType
static ClassType
Compilation.scmKeywordType
static ClassType
Compilation.scmListType
static ClassType
Compilation.scmSequenceType
static ClassType
Compilation.typeApplet
static ClassType
Compilation.typeCallContext
static ClassType
Compilation.typeCharSequence
static ClassType
Compilation.typeClass
static ClassType
Compilation.typeClassType
static ClassType
Compilation.typeCompiledProc
static final ClassType
Compilation.typeConsumer
static ClassType
Compilation.typeEnvironment
static ClassType
Compilation.typeFieldLocation
static ClassType
Compilation.typeLanguage
static final ClassType
Compilation.typeList
static ClassType
Compilation.typeLocation
static final ClassType
Compilation.typeLocationProc
static ClassType
Compilation.typeMethodProc
static ClassType
Compilation.typeModuleBody
static ClassType
Compilation.typeObject
static ClassType
Compilation.typeObjectType
static ClassType
Compilation.typePair
static ClassType
Compilation.typeProcedure
static ClassType
Compilation.typeProcedure0
static ClassType
Compilation.typeProcedure1
static ClassType
Compilation.typeProcedure2
static ClassType
Compilation.typeProcedure3
static ClassType
Compilation.typeProcedure4
static ClassType[]
Compilation.typeProcedureArray
static ClassType
Compilation.typeProcedureN
static ClassType
Compilation.typeRunnable
static ClassType
Compilation.typeRunnableModule
static final ClassType
ConsumerTarget.typeSequences
static ClassType
Compilation.typeServlet
static ClassType
Compilation.typeStaticFieldLocation
static ClassType
Compilation.typeString
static ClassType
Compilation.typeSymbol
static ClassType
Compilation.typeType
static ClassType
Compilation.typeValues
Modifier 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 ClassType
ClassExp.getCompiledClassType
(Compilation comp) protected ClassType
LambdaExp.getCompiledClassType
(Compilation comp) Return the ClassType of the Procedure this is being compiled into.PrimProcedure.getDeclaringClass()
LambdaExp.getHeapFrameType()
final ClassType[]
ModuleExp.getInterfaces()
final ClassType
Compilation.getModuleType()
final ClassType
ModuleExp.getSuperType()
Modifier and TypeMethodDescriptionvoid
LambdaExp.declareThis
(ClassType clas) static Object
PairClassType.extractStaticLink
(ClassType type) This method is called from compiled code.static ModuleInfo
final void
Compilation.generateConstructor
(ClassType clas, LambdaExp lexp) static final Method
Compilation.getConstructor
(ClassType clas, LambdaExp lexp) static PrimProcedure
PrimProcedure.getMethodFor
(ClassType procClass, String name, Declaration decl, Type[] atypes, Language language) static PrimProcedure
PrimProcedure.getMethodFor
(ClassType procClass, String name, Declaration decl, Expression[] args, Language language) void
Declaration.makeField
(ClassType frameType, Compilation comp, Expression value) void
ClassExp.setClassType
(ClassType type) final void
ModuleExp.setInterfaces
(ClassType[] s) final void
ModuleExp.setSuperType
(ClassType s) void
static 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 ClassType
GenArrayType.typeArray
static final ClassType
LangObjType.typeLangObjType
Methods in gnu.kawa.lispexpr that return ClassTypeModifier and TypeMethodDescriptionLangPrimType.boxedType()
static ClassType
LangObjType.coerceToClassType
(Object obj) static ClassType
LangObjType.coerceToClassTypeOrNull
(Object type) ClassNamespace.getClassType()
Methods in gnu.kawa.lispexpr with parameters of type ClassTypeModifier and TypeMethodDescriptionstatic ClassNamespace
ClassNamespace.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 ClassType
LazyType.lazyType
static final ClassType
LazyType.promiseType
static final ClassType
OccurrenceType.typeOccurrenceType
Methods in gnu.kawa.reflect that return ClassTypeMethods in gnu.kawa.reflect with parameters of type ClassTypeModifier and TypeMethodDescriptionstatic LazyType
LazyType.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 PrimProcedure
CompileInvoke.getStaticMethod
(ClassType type, String name, Expression[] args) static PrimProcedure
Invoke.getStaticMethod
(ClassType type, String name, Expression[] args) Deprecated.protected void
CompileBuildObject.init
(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller) static Member
SlotGet.lookupMember
(ObjectType clas, String name, ClassType caller) Get a named property - field or member class or 'get' accessor method.static Member
SlotSet.lookupMember
(ObjectType clas, String name, ClassType caller) Get a setter property - field or 'set' accessor method.static CompileBuildObject
CompileBuildObject.make
(ApplyExp exp, InlineCalls visitor, Type required, ObjectType ctype, ClassType caller) static ApplyExp
Invoke.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 ClassType
Focus.TYPE
static final ClassType
AttributeType.typeAttributeType
static final ClassType
ElementType.typeElementType
static final ClassType
NodeType.typeKNode
static final ClassType
CoerceNodes.typeNodes
static final ClassType
NodeType.typeNodeType
static final ClassType
ProcessingInstructionType.typeProcessingInstructionType
static final ClassType
SortNodes.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 ClassType
Record.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)