Uses of Class
org.glassfish.pfl.dynamic.codegen.spi.Type
Packages that use Type
Package
Description
-
Uses of Type in org.glassfish.pfl.dynamic.codegen.impl
Fields in org.glassfish.pfl.dynamic.codegen.impl declared as TypeModifier and TypeFieldDescriptionprivate TypeExpressionFactory.NewArrExpression.ctypeprivate TypeExpressionFactory.InstofExpression.itypeprotected TypeMethodInfoBase.rtypeprivate TypeClassInfoBase.superTypeprivate TypeClassInfoBase.thisTypeprivate TypeExpressionFactory.BinaryOperatorExpression.typeprivate TypeExpressionFactory.CastExpression.typeprivate TypeExpressionFactory.ConstantExpression.typeprivate TypeExpressionFactory.IfExpression.typeprivate TypeExpressionFactory.NewObjExpression.typeprivate TypeExpressionFactory.VariableImpl.typeprotected TypeFieldInfoImpl.typeFields in org.glassfish.pfl.dynamic.codegen.impl with type parameters of type TypeModifier and TypeFieldDescriptionprivate Map<Type, Pair<Variable, BlockStatement>> TryStatement.catchesMethodInfoBase.exceptionsClassInfoBase.implsImportListImpl.importsprivate static Map<ExpressionFactory.BinaryOperator, Map<Type, Integer>> ByteCodeUtility.opInstructionsByteCodeUtility.typeIndexMethods in org.glassfish.pfl.dynamic.codegen.impl that return TypeModifier and TypeMethodDescriptionAdd a fully-qualified type name to the imports.ExpressionFactory.NewArrExpression.ctype()ExpressionFactory.InstofExpression.itype()Lookup just the className, without package name.MethodInfoBase.returnType()ClassInfoBase.superType()(package private) abstract TypeExpressionFactory.FieldAccessExpressionBase.targetType()ExpressionFactory.NonStaticFieldAccessExpression.targetType()ExpressionFactory.StaticFieldAccessExpression.targetType()ClassInfoBase.thisType()ExpressionFactory.ArrayIndexExpression.type()ExpressionFactory.ArrayLengthExpression.type()ExpressionFactory.BinaryOperatorExpression.type()final TypeExpressionFactory.CallExpression.type()ExpressionFactory.CastExpression.type()ExpressionFactory.ConstantExpression.type()ExpressionFactory.FieldAccessExpressionBase.type()ExpressionFactory.IfExpression.type()ExpressionFactory.InstofExpression.type()ExpressionFactory.NewArrExpression.type()ExpressionFactory.NewObjExpression.type()ExpressionFactory.SuperCallExpression.type()ExpressionFactory.SuperObjExpression.type()ExpressionFactory.ThisExpression.type()ExpressionFactory.ThisObjExpression.type()ExpressionFactory.UnaryOperatorExpression.type()ExpressionFactory.VariableImpl.type()ExpressionFactory.VoidExpression.type()ExpressionInternal.type()FieldInfoImpl.type()ImportListImpl.Node.type()Methods in org.glassfish.pfl.dynamic.codegen.impl that return types with arguments of type TypeModifier and TypeMethodDescriptionTryStatement.catches()MethodInfoBase.exceptions()ClassInfoBase.impls()Methods in org.glassfish.pfl.dynamic.codegen.impl with parameters of type TypeModifier and TypeMethodDescriptionMethodGenerator.addArgument(Type type, String ident) Add a new Catch block to this try statement.BlockStatement.addDefinition(Type type, String ident, Expression value) voidstatic StringExpressionFactory.cast(Type type, Expression expr) private voidBlockStatement.checkSwitchExpressionType(Type type) booleanstatic ClassGeneratorImplCodeGenerator.defineClass(int modifiers, String name, Type superType, List<Type> impls) Define a ClassGeneratorImpl for a class.voidvoidByteCodeUtility.emitConstantExpression(Type type, Object value) voidByteCodeUtility.emitConversion(Type from, Type to) voidByteCodeUtility.emitExceptionTableEntry(org.objectweb.asm.Label start, org.objectweb.asm.Label end, org.objectweb.asm.Label handler, Type exceptionType) voidByteCodeUtility.emitInstanceof(Type type) voidByteCodeUtility.emitInvoke(Type type, String name, Signature sig) Emit the appropriate non-static INVOKE instruction as follows: If type is an interface, emit INVOKEINTERFACE.voidByteCodeUtility.emitNewArrayCall(Type type) voidByteCodeUtility.emitNewCall(Type type) Emit the NEW, DUP sequence required at the start of a new call.voidByteCodeUtility.emitNewInvoke(Type type, Signature sig) Emit the INVOKESPECIAL instruction for calling a constructor with the given signature.private voidByteCodeUtility.emitReturn(Type returnType) voidByteCodeUtility.emitSpecialInvoke(Type type, String name, Signature sig) Emit the INVOKESPECIAL instruction for calling a method with the given signature.voidByteCodeUtility.emitStaticInvoke(Type type, String name, Signature sig) Emit a static INVOKE instruction.ExpressionFactory.fieldAccess(Type target, String fieldName) intprivate static intEmitterFactory.getVarInsnOpcode(Type type, boolean isStore) protected voidClassInfoBase.initializeClass(Type thisType, Type superType, List<Type> impls) private voidImportListImpl.insertType(Type type) ExpressionFactory.instof(Expression expr, Type type) private static EmitterFactory.EmitterEmitterFactory.makeFieldInsnEmitter(boolean isStore, boolean isStatic, Type targetType, String name, Type varType) static ImportListImpl.NodeImportListImpl.Node.makeTypeNode(String name, Type type) ExpressionFactory.newArr(Type type, Expression size) ExpressionFactory.newArrInit(Type type, List<Expression> exprs) ExpressionFactory.newObj(Type type, List<Expression> exprs) ExpressionFactory.newObj(Type type, Signature signature, List<Expression> args) ClassGeneratorImpl.startMethod(int modifiers, Type rtype, String name, List<Type> exceptions) ExpressionFactory.staticCall(Type target, String ident, List<Expression> exprs) Shorthand form to construct invocation that looks up Signature based on the types of the expressions in exprs.ExpressionFactory.staticCall(Type target, String ident, Signature signature, List<Expression> exprs) Construct a representation of a static method invocation.voidASMByteCodeVisitor.tryStatementBeforeBlock(TryStatement arg, Type type, Variable var, BlockStatement block) voidASMSetupVisitor.tryStatementBeforeBlock(TryStatement arg, Type type, Variable var, BlockStatement block) voidNopVisitor.tryStatementBeforeBlock(TryStatement arg, Type type, Variable var, BlockStatement block) voidSourceStatementVisitor.tryStatementBeforeBlock(TryStatement arg, Type type, Variable var, BlockStatement block) voidTreeWalker.tryStatementBeforeBlock(TryStatement arg, Type type, Variable var, BlockStatement block) intprivate Stringprivate StringMethod parameters in org.glassfish.pfl.dynamic.codegen.impl with type arguments of type TypeModifier and TypeMethodDescriptionstatic ClassGeneratorImplCodeGenerator.defineClass(int modifiers, String name, Type superType, List<Type> impls) Define a ClassGeneratorImpl for a class.static ClassGeneratorImplCodeGenerator.defineInterface(int modifiers, String name, List<Type> impls) Define a ClassGeneratorImpl for an interface.protected voidClassInfoBase.initializeClass(Type thisType, Type superType, List<Type> impls) protected voidClassInfoBase.initializeInterface(List<Type> exts) ClassGeneratorImpl.startConstructor(int modifiers, List<Type> exceptions) ClassGeneratorImpl.startMethod(int modifiers, Type rtype, String name, List<Type> exceptions) Constructors in org.glassfish.pfl.dynamic.codegen.impl with parameters of type TypeModifierConstructorDescription(package private)BinaryOperatorExpression(ExpressionFactory ef, Type type, Expression left, ExpressionFactory.BinaryOperator op, Expression right) (package private)CastExpression(ExpressionFactory ef, Type type, Expression expr) (package private)ClassGeneratorImpl(int modifiers, String name, Type superType, List<Type> impls) Construct a ClassGeneratorImpl representing a class.ClassInfoBase(int modifiers, Type thisType) Construct a ClassInfoBase representing a class or interface.ClassInfoReflectiveImpl(Type type) (package private)ConstantExpression(ExpressionFactory ef, Type type, Object value) FieldGenerator(ClassGeneratorImpl cinfo, int modifiers, Type type, String ident) FieldInfoImpl(ClassInfo cinfo, int modifiers, Type type, String ident) (package private)InstofExpression(ExpressionFactory ef, Expression expr, Type type) (package private)MethodGenerator(ClassGeneratorImpl parent, int modifiers, Type rtype, String name, List<Type> exceptions) Construct a MethodGenerator that represents a method.protectedMethodInfoBase(ClassInfo cinfo, int modifiers, Type rtype, String name) (package private)NewArrExpression(ExpressionFactory ef, Type ctype, Expression size, List<Expression> exprs) (package private)NewObjExpression(ExpressionFactory ef, Type type, Signature signature, List<Expression> args) (package private)StaticCallExpression(ExpressionFactory ef, Type target, String ident, Signature signature, List<Expression> args) (package private)StaticFieldAccessExpression(ExpressionFactory ef, Type target, String fieldName) (package private)VariableImpl(ExpressionFactory ef, Type type, String ident) Constructor parameters in org.glassfish.pfl.dynamic.codegen.impl with type arguments of type TypeModifierConstructorDescription(package private)ClassGeneratorImpl(int modifiers, String name, List<Type> impls) Construct a ClassGeneratorImpl representing an interface.(package private)ClassGeneratorImpl(int modifiers, String name, Type superType, List<Type> impls) Construct a ClassGeneratorImpl representing a class.(package private)MethodGenerator(ClassGeneratorImpl parent, int modifiers, List<Type> exceptions) Construct a MethodGenerator that represents a constructor.(package private)MethodGenerator(ClassGeneratorImpl parent, int modifiers, Type rtype, String name, List<Type> exceptions) Construct a MethodGenerator that represents a method. -
Uses of Type in org.glassfish.pfl.dynamic.codegen.spi
Fields in org.glassfish.pfl.dynamic.codegen.spi declared as TypeModifier and TypeFieldDescriptionprivate TypeType.memberTypeprivate static final TypeType.myBooleanprivate static final TypeType.myByteprivate static final TypeType.myCharprivate static final TypeType.myClassprivate static final TypeType.myCloneableprivate static final TypeType.myDoubleprivate static final TypeType.myFloatprivate static final TypeType.myIntprivate static final TypeType.myLongprivate static final TypeType.myNullprivate static final TypeType.myObjectprivate static final TypeType.myShortprivate static final TypeType.myStringprivate static final TypeType.myVoidprivate TypeSignature.rtypeFields in org.glassfish.pfl.dynamic.codegen.spi with type parameters of type TypeModifier and TypeFieldDescriptionprivate static ThreadLocal<Map<Class, Type>> Type.classMapprivate static ThreadLocal<Map<String, Type>> Type.classNameMapType.ptcToTypeSignature.typesMethods in org.glassfish.pfl.dynamic.codegen.spi that return TypeModifier and TypeMethodDescriptionstatic Typestatic TypeType._boolean()static TypeWrapper._boolean()Return a representation of the boolean type.static TypeType._byte()(package private) static TypeWrapper._byte()Return a representation of the byte type.static TypeType._char()(package private) static TypeWrapper._char()Return a representation of the char type.static TypeReturn a codegen Type representing a class with the given name.static TypeType._Class()static TypeWrapper._Class()Return a representation of the java.lang.Class type.static TypeType._classGenerator(ClassGenerator cg) static TypeType._Cloneable()static TypeType._double()(package private) static TypeWrapper._double()Return a representation of the double type.static TypeType._float()(package private) static TypeWrapper._float()Return a representation of the float type.static TypeUsed to create short names for types.(package private) final Typestatic TypeType._int()static TypeWrapper._int()Return a representation of the int type.static TypeType._long()(package private) static TypeWrapper._long()Return a representation of the long type.static TypeType._null()static TypeType._Object()static TypeWrapper._Object()Return a representation of the java.lang.Object type.static TypeType._short()(package private) static TypeWrapper._short()Return a representation of the short type.static TypeType._String()static TypeWrapper._String()Return a representation of the java.lang.String type.static TypeReturn the reference type for the given class name.(package private) Typestatic TypeWrapper._thisClass()Return the type of the current class.(package private) TypeWrapper.Environment._thisClass()static TypeType._void()static TypeWrapper._void()Return a representation of the void type.Add a fully-qualified type name to the imports.Type.binaryPromotion(Type t) Return the type that is the binary promotion of this type and Type t.static TypePrimitives.getPrimitiveTypeForWrapper(Type type) static TypePrimitives.getWrapperTypeForPrimitive(Type type) Lookup just the className, without package name.Type.memberType()MethodInfo.returnType()Return the Type that is returned by this method.Signature.returnType()ClassInfo.superType()Return the Type of the supertype of this class.ClassInfo.thisType()Return the Type of the class represented by this ClassInfo.FieldInfo.type()Return the type of this Field.static TypeReturn the codegen Type that corresponds to the Java (non-generic) Type represented by cls.Variable.type()Return the type of this variable.Type.unaryPromotion()Return the type that is a unary promotion of this type.Methods in org.glassfish.pfl.dynamic.codegen.spi that return types with arguments of type TypeModifier and TypeMethodDescriptionSignature.argTypes()MethodInfo.exceptions()Return a list of all Exception types that are declared as being throwable from this method.Signature.getExprTypes(List<Expression> exprs) ClassInfo.impls()Return the list of Types of interfaces implemented by this class.Methods in org.glassfish.pfl.dynamic.codegen.spi with parameters of type TypeModifier and TypeMethodDescriptionstatic ExpressionAdd an argument to the current method.(package private) final Expression(package private) Expressionstatic Typestatic ExpressionWrapper._call(Type target, String ident, List<Expression> args) Generate a call to a static method, using the Java method overload resolution algorithm to determine the signature.static ExpressionWrapper._call(Type target, String ident, Expression... args) Generate a call to a static method, using the Java method overload resolution algorithm to determine the signature.static ExpressionGenerate a call to a static method.static ExpressionWrapper._call(Type target, String ident, Signature signature, Expression... args) Generate a call to a static method.static ExpressionWrapper._cast(Type type, Expression expr) Create an expression representing the type cast of expr to type.static ExpressionIndicate the start of a catch clause in a try statement.(package private) Expression(package private) Expressionstatic voidDefine a class.static voidDefine a class.final voidstatic ExpressionReturn a constant expression representing the value c.static voidWrapper._constructor(int modifiers, Type... exceptions) Begin defining a constructor in the current class.static ExpressionDefine a data member in a class.(package private) FieldGenerator(package private) final FieldGeneratorstatic ExpressionWrapper._define(Type type, String name, Expression expr) Indicates the introduction of a new local variable initialized to the given expression.static ExpressionReturn an expression used to access a static data member in a class given by the type.static voidWrapper._interface(int modifiers, String name, Type... impls) Define an interface.static voidBegin defining a method in the current class.static voidBegin defining a method in the current class.(package private) void(package private) final voidstatic ExpressionWrapper._new(Type type, List<Expression> args) Create an expression representing the construction of a new instance of the given type using the constructor with the signature determined by the Java method overload resolution algorithm and the list of expressions as arguments.static ExpressionWrapper._new(Type type, Expression... args) Create an expression representing the construction of a new instance of the given type using the constructor with the signature determined by the Java method overload resolution algorithm and the list of expressions as arguments.static ExpressionWrapper._new(Type type, Signature signature, List<Expression> args) Create an expression representing the construction of a new instance of the given type using the constructor with the given signature and the list of expressions as arguments.static ExpressionWrapper._new(Type type, Signature signature, Expression... args) Create an expression representing the construction of a new instance of the given type using the constructor with the given signature and the list of expressions as arguments.static ExpressionWrapper._new_array_init(Type type, List<Expression> args) Create an expression representing the construction of a new array with the given component type using the given expressions to initialize the array.static ExpressionWrapper._new_array_init(Type type, Expression... args) Create an expression representing the construction of a new array with the given component type using the given expressions to initialize the array.static SignatureCreate a signature that may be used for calling a method or constructor.static SignatureCreate a signature that may be used for calling a method or constructor.voidModifiableClass.addImplementedInterface(Type type) voidType.binaryPromotion(Type t) Return the type that is the binary promotion of this type and Type t.voidSignature.checkCompatibility(Type targetType, String ident, List<Expression> args) Check whether the list of expression in args is statically compatible with this Signature.private voidSignature.checkCompatibility(Type targetType, String ident, List<Expression> args, boolean isStaticMethod) voidSignature.checkConstructorCompatibility(Type targetType, List<Expression> args) Check whether the list of expression in args is statically compatible with this Signature.voidSignature.checkStaticCompatibility(Type targetType, String ident, List<Expression> args) Check whether the list of expression in args is statically compatible with this Signature.booleanstatic SignatureSignature.fromCall(Type type, String ident, List<Expression> exprs) static SignatureSignature.fromCallUsingTypes(Type type, String ident, List<Type> types) static SignatureSignature.fromConstructor(Type type, List<Expression> exprs) static SignatureSignature.fromConstructorUsingTypes(Type type, List<Type> types) private static SignatureSignature.fromMethodCall(Type type, String ident, List<Expression> exprs, boolean isStaticCall) private static SignatureSignature.fromMethodCallUsingTypes(Type type, String ident, List<Type> types, boolean isStaticCall) static SignatureSignature.fromStaticCall(Type type, String ident, List<Expression> exprs) static SignatureSignature.fromStaticCallUsingTypes(Type type, String ident, List<Type> types) private static ClassInfoSignature.getClassInfo(Type type) private static Set<MethodInfo> Signature.getMethods(Type type, String ident, boolean staticOnly) static TypePrimitives.getPrimitiveTypeForWrapper(Type type) static TypePrimitives.getWrapperTypeForPrimitive(Type type) booleanReturn true iff there is a primitive narrowing conversion from Type t to this type.booleanReturn true iff there is a primitive widening conversion from Type t to this type.booleanReturn true iff there is a reference narrowing conversion from Type t to this type.booleanReturn true iff there is a reference widening conversion from Type t to this type.booleanType.isAssignmentConvertibleFrom(Type t) Return true iff there is an assignment conversion from Type t to this type.booleanType.isCastingConvertibleFrom(Type t) Return true iff there is a casting conversion from Type t to this type.booleanReturn true iff one of the following statements is true: this.equals( t ) .private booleanType.isSubclass(Type t) static Signatureprivate booleanType.noMethodConflicts(Type t1, Type t2) private static MethodInfoSignature.returnCompatibleMethod(Type type, String ident, List<Type> argTypes, Signature.CallType ctype, Set<MethodInfo> compatibleMethods) voidModifiableClass.setSuperType(Type type) Method parameters in org.glassfish.pfl.dynamic.codegen.spi with type arguments of type TypeModifier and TypeMethodDescriptionstatic voidDefine a class.final voidstatic voidWrapper._constructor(int modifiers, List<Type> exceptions) Begin defining a constructor in the current class.(package private) voidWrapper.ClassContext._constructor(int modifiers, List<Type> exceptions) (package private) final voidWrapper.Environment._constructor(int modifiers, List<Type> exceptions) static voidWrapper._interface(int modifiers, String name, List<Type> impls) Define an interface.(package private) final voidWrapper.Environment._interface(int modifiers, String name, List<Type> impls) static voidBegin defining a method in the current class.(package private) void(package private) final voidstatic SignatureCreate a signature that may be used for calling a method or constructor.private voidSignature.checkArgTypeCompatibility(List<Type> atypes) private booleanSignature.checkArgTypeCompatibility(List<Type> atypes, boolean throwsException) static SignatureSignature.fromCallUsingTypes(Type type, String ident, List<Type> types) static SignatureSignature.fromConstructorUsingTypes(Type type, List<Type> types) private static SignatureSignature.fromMethodCallUsingTypes(Type type, String ident, List<Type> types, boolean isStaticCall) static SignatureSignature.fromStaticCallUsingTypes(Type type, String ident, List<Type> types) private static Set<MethodInfo> Signature.getCompatibleMethods(Set<MethodInfo> methods, List<Type> argTypes) private static StringSignature.getTypeListString(List<Type> types) static Signatureprivate static MethodInfoSignature.returnCompatibleMethod(Type type, String ident, List<Type> argTypes, Signature.CallType ctype, Set<MethodInfo> compatibleMethods) Constructors in org.glassfish.pfl.dynamic.codegen.spi with parameters of type TypeModifierConstructorDescriptionprivateprivateType(String name, String signature, int size, boolean isNumber, Type.Sort sort, int wideningNumber, Type memberType) Constructor parameters in org.glassfish.pfl.dynamic.codegen.spi with type arguments of type Type -
Uses of Type in org.glassfish.pfl.tf.timer.spi
Fields in org.glassfish.pfl.tf.timer.spi declared as TypeModifier and TypeFieldDescriptionprivate static TypeTimerPointSourceGenerator.Timerprivate static TypeTimerPointSourceGenerator.TimerEventControllerprivate static TypeTimerPointSourceGenerator.TimerFactoryprivate static TypeTimerPointSourceGenerator.TimerGroupMethods in org.glassfish.pfl.tf.timer.spi with parameters of type Type