Uses of Class
gnu.bytecode.ClassType
-
Packages that use ClassType Package Description gnu.bytecode Contains classes to generate, read, write, and print Java bytecode in the form of.class
files.gnu.expr SupportsExpression
, and various related classes need to compile programming languages.gnu.kawa.functions gnu.kawa.lispexpr gnu.kawa.reflect Contains classes to use reflection.gnu.kawa.xml gnu.xquery.util kawa.lang -
-
Uses of ClassType in gnu.bytecode
Fields in gnu.bytecode declared as ClassType Modifier and Type Field Description static ClassType
Type. boolean_ctype
Deprecated.protected ClassType
SpecialObjectType. implementationType
static ClassType
Type. java_lang_Class_type
Deprecated.static ClassType
Type. javalangannotationAnnotationType
static ClassType
Type. javalangBooleanType
static ClassType
Type. javalangCharacterType
static ClassType
Type. javalangClassType
static ClassType
Type. javalanginvokeMethodHandleType
static ClassType
Type. javalangNumberType
static ClassType
Type. javalangObjectType
static ClassType
Type. javalangStringType
static ClassType
Type. javalangThrowableType
static ClassType[]
ClassType. noClasses
static ClassType
Type. number_type
Deprecated.static ClassType
Type. objectType
static ClassType
Type. pointer_type
Deprecated.static ClassType
Type. string_type
Deprecated.static ClassType
Type. throwable_type
Methods in gnu.bytecode that return ClassType Modifier and Type Method Description ClassType
PrimType. boxedType()
ClassType[]
ClassType. getAllInterfaces()
Get all the interfaces this class implements.ClassType
AnnotationEntry. getAnnotationType()
ClassType
ClassType. getDeclaredClass(String simpleName)
ClassType
ClassType. getDeclaringClass()
ClassType
Field. getDeclaringClass()
ClassType
Member. getDeclaringClass()
ClassType
Method. getDeclaringClass()
ClassType[]
ExceptionsAttr. getExceptions()
The types of the exceptions in this attr.ClassType[]
Method. getExceptions()
ClassType[]
ArrayType. getInterfaces()
ClassType[]
ClassType. getInterfaces()
ClassType[]
ObjectType. getInterfaces()
ClassType[]
SpecialObjectType. getInterfaces()
ClassType
ClassType. getOuterLinkType()
ClassType
ParameterizedType. getRawType()
ClassType
TypeVariable. getRawType()
ClassType
ArrayType. getSuperclass()
ClassType
ClassType. getSuperclass()
ClassType
ObjectType. getSuperclass()
ClassType
SpecialObjectType. getSuperclass()
static ClassType
ClassType. make(String name)
Find a ClassType with the given name, or create a new one.static ClassType
ClassType. make(String name, ClassType superClass)
Deprecated.static ClassType
ClassFileInput. readClassType(InputStream str)
Read a class (in .class format) from an InputStream.Methods in gnu.bytecode with parameters of type ClassType Modifier and Type Method Description void
ArrayClassLoader. addClass(ClassType ctype)
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
CodeAttr. emitNew(ClassType type)
Invoke new on a class type.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.boolean
ClassType. isSubclass(ClassType other)
static ClassType
ClassType. make(String name, ClassType superClass)
Deprecated.void
ClassTypeWriter. print(ClassType ctype)
static void
ClassTypeWriter. print(ClassType ctype, PrintStream stream, int flags)
static void
ClassTypeWriter. print(ClassType ctype, PrintWriter stream, int flags)
void
ClassTypeWriter. setClass(ClassType ctype)
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)
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
ClassType. setSuper(ClassType superClass)
Constructors in gnu.bytecode with parameters of type ClassType Constructor Description AnnotationEntry(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)
EnclosingMethodAttr(ClassType cl)
Field(ClassType ctype)
Add a new Field to a ClassType.InnerClassesAttr(short[] data, ClassType cl)
InnerClassesAttr(ClassType cl)
Add a new InnerClassesAttr to a ClassType.Method(Method base, ClassType clas)
A copy constructor, except you can override the declaring class.ParameterizedType(ClassType rawType, Type... typeArgumentTypes)
SourceDebugExtAttr(ClassType cl)
Add a new InnerClassesAttr to a ClassType.SourceFileAttr(int index, ClassType ctype)
SpecialObjectType(String name, ClassType implementationType)
-
Uses of ClassType in gnu.expr
Subclasses of ClassType in gnu.expr Modifier and Type Class Description class
PairClassType
A class type implemented as a pair of an interface and a class.Fields in gnu.expr declared as ClassType Modifier and Type Field Description ClassType
Compilation. curClass
ClassType
PairClassType. instanceType
static ClassType
Compilation. javaStringType
ClassType
Compilation. mainClass
ClassType
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 ClassType
Compilation. typeConsumer
static ClassType
Compilation. typeEnvironment
static ClassType
Compilation. typeFieldLocation
static ClassType
Compilation. typeLanguage
static ClassType
Compilation. typeList
static ClassType
Compilation. typeLocation
static 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 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
Methods in gnu.expr that return ClassType Modifier and Type Method Description ClassType
LambdaExp. checkForInitCall(Expression bodyFirst)
Check if argument is a this(...) or super(...) initializtion.ClassType
ModuleExp. classFor(Compilation comp)
Return the class for this module.ClassType
ClassExp. compileMembers(Compilation comp)
ClassType
Compilation. findNamedClass(String name)
Search this Compilation for a ClassType with a given name.ClassType
ClassExp. getClassType()
The ClassType generated for this class.ClassType
LambdaExp. getClassType()
The ClassType generated for this class.ClassType
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.ClassType
PrimProcedure. getDeclaringClass()
ClassType
LambdaExp. getHeapFrameType()
ClassType[]
ModuleExp. getInterfaces()
ClassType
Compilation. getModuleType()
ClassType
ModuleExp. getSuperType()
Methods in gnu.expr with parameters of type ClassType Modifier and Type Method Description void
Compilation. addClass(ClassType new_class)
Variable
LambdaExp. declareThis(ClassType clas)
static Object
PairClassType. extractStaticLink(ClassType type)
This method is called from compiled code.static ModuleInfo
ModuleInfo. find(ClassType type)
void
Compilation. generateConstructor(ClassType clas, LambdaExp lexp)
static 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)
void
ModuleExp. setInterfaces(ClassType[] s)
void
ModuleExp. setSuperType(ClassType s)
void
LambdaExp. setType(ClassType type)
static ModuleExp
ModuleExp. valueOf(ClassType type)
Constructors in gnu.expr with parameters of type ClassType Constructor Description ClassExp(boolean simple, ClassType type)
PrimProcedure(int op_code, ClassType classtype, String name, Type retType, Type[] argTypes)
ThisExp(ClassType type)
-
Uses of ClassType in gnu.kawa.functions
Fields in gnu.kawa.functions declared as ClassType Modifier and Type Field Description static ClassType
CompileMisc. typeContinuation
-
Uses of ClassType in gnu.kawa.lispexpr
Fields in gnu.kawa.lispexpr declared as ClassType Modifier and Type Field Description static ClassType
GenArrayType. typeArray
static ClassType
LangObjType. typeLangObjType
Methods in gnu.kawa.lispexpr that return ClassType Modifier and Type Method Description ClassType
LangPrimType. boxedType()
static ClassType
LangObjType. coerceToClassType(Object obj)
static ClassType
LangObjType. coerceToClassTypeOrNull(Object type)
ClassType
ClassNamespace. getClassType()
Methods in gnu.kawa.lispexpr with parameters of type ClassType Modifier and Type Method Description static ClassNamespace
ClassNamespace. getInstance(String name, ClassType ctype)
Constructors in gnu.kawa.lispexpr with parameters of type ClassType Constructor Description ClassNamespace(ClassType ctype)
-
Uses of ClassType in gnu.kawa.reflect
Fields in gnu.kawa.reflect declared as ClassType Modifier and Type Field Description static ClassType
LazyType. lazyType
static ClassType
LazyType. promiseType
static ClassType
OccurrenceType. typeOccurrenceType
Methods in gnu.kawa.reflect that return ClassType Modifier and Type Method Description ClassType
ClassMemberLocation. getDeclaringClass()
Methods in gnu.kawa.reflect with parameters of type ClassType Modifier and Type Method Description static 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 ClassType Constructor Description ClassMemberLocation(Object instance, ClassType type, String mname)
FieldLocation(Object instance, ClassType type, String mname)
LazyType(ClassType rawType, Type valueType)
MakeAnnotation(ClassType annotationType)
StaticFieldLocation(ClassType type, String mname)
StaticGet(ClassType ctype, String name, Type ftype, int flags)
StaticSet(ClassType ctype, String name, Type ftype, int flags)
-
Uses of ClassType in gnu.kawa.xml
Fields in gnu.kawa.xml declared as ClassType Modifier and Type Field Description static ClassType
Focus. TYPE
static ClassType
AttributeType. typeAttributeType
static ClassType
ElementType. typeElementType
static ClassType
NodeType. typeKNode
static ClassType
CoerceNodes. typeNodes
static ClassType
NodeType. typeNodeType
static ClassType
ProcessingInstructionType. typeProcessingInstructionType
static ClassType
SortNodes. typeSortedNodes
-
Uses of ClassType in gnu.xquery.util
Fields in gnu.xquery.util declared as ClassType Modifier and Type Field Description static ClassType
ValuesFilter. typeValuesFilter
-
Uses of ClassType in kawa.lang
Fields in kawa.lang declared as ClassType Modifier and Type Field Description static ClassType
Pattern. typePattern
Methods in kawa.lang that return ClassType Modifier and Type Method Description static ClassType
Record. makeRecordType(String name, LList fnames)
Methods in kawa.lang with parameters of type ClassType Modifier and Type Method Description static LList
Record. typeFieldNames(ClassType ctype)
Constructors in kawa.lang with parameters of type ClassType Constructor Description GetFieldProc(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)
-