Uses of Class
org.codehaus.janino.Java.Type
-
Packages that use Java.Type Package Description org.codehaus.janino The classes in this package pose the core of the Janino JavaTM compiler.org.codehaus.janino.util Application-independent helper classes. -
-
Uses of Java.Type in org.codehaus.janino
Subclasses of Java.Type in org.codehaus.janino Modifier and Type Class Description static classJava.ArrayTypeRepresentation of a JLS7 10.1 'array type'.static classJava.BasicTypeRepresentation of a JLS7 18 "basic type" (obviously equivalent to a JLS7 4.2 "primitive type").static classJava.ReferenceTyperepresentation of a JLS7 4.3 reference type.static classJava.RvalueMemberTypeRepresentation of the first part of a JLS7 15.9 'Qualified class instance creation expression': The 'a.new MyClass' part of 'a.new MyClass(...)'.static classJava.SimpleTypeThis class is not used when code is parsed; it is intended for "programmatic" types.Fields in org.codehaus.janino declared as Java.Type Modifier and Type Field Description Java.TypeJava.AnonymousClassDeclaration. baseTypeBase class or interface.Java.TypeJava.ArrayType. componentTypeThe (declared) type of the array's components.Java.Type[]Java.InterfaceDeclaration. extendedTypesThe types of the interfaces that this interface extends.Java.Type[]Java.NamedClassDeclaration. implementedTypesThe types of the implemented interfaces.Java.TypeJava.NamedClassDeclaration. optionalExtendedTypeThe type of the extended class.Java.TypeJava.SuperclassFieldAccessExpression. optionalQualificationThe optional qualification before '.super.fld'.Java.TypeJava.QualifiedThisReference. qualificationThe qualification left from the 'this' keyword.Java.TypeJava.Instanceof. rhsThe type that theJava.Instanceof.lhsis checked against.Java.TypeJava.Cast. targetTypeThe type to convert to.Java.Type[]Java.FunctionDeclarator. thrownExceptionsThe types of the declared exceptions.Java.TypeJava.ClassLiteral. typeThe type left of the '.class' suffix.Java.TypeJava.FieldDeclaration. typeThe type of this field.Java.TypeJava.FunctionDeclarator.FormalParameter. typeThe type of the parameter.Java.TypeJava.FunctionDeclarator. typeThe return type of the function (VOID for constructors).Java.TypeJava.LocalVariableDeclarationStatement. typeThe declared type of the local variable.Java.TypeJava.MarkerAnnotation. typeThe type of this marker annotation.Java.TypeJava.NewArray. typeThe component type of the (Java.NewArray.dimExprs.length +Java.NewArray.dims)-dimensional array to instantiate.Java.TypeJava.NewClassInstance. typeThe type to instantiate.Java.TypeJava.NormalAnnotation. typeThe type of this normal annotation.Java.TypeJava.SingleElementAnnotation. typeThe type of this single-element annotation.Methods in org.codehaus.janino that return Java.Type Modifier and Type Method Description protected Java.Type[]SimpleCompiler. classesToTypes(Location location, Class[] classes)protected Java.TypeSimpleCompiler. classToType(Location location, Class clazz)Java.TypeJava.Annotation. getType()Java.TypeJava.MarkerAnnotation. getType()Java.TypeJava.NormalAnnotation. getType()Java.TypeJava.SingleElementAnnotation. getType()Java.TypeParser. parseType()Type := ( 'byte' | 'short' | 'char' | 'int' | 'long' | 'float' | 'double' | 'boolean' | ReferenceType ) { '[' ']' }Java.TypeJava.AmbiguousName. toType()Java.TypeJava.Atom. toType()Java.TypeJava.Type. toType()Java.TypeJava.Atom. toTypeOrCompileException()Methods in org.codehaus.janino with parameters of type Java.Type Modifier and Type Method Description Java.MethodDeclaratorParser. parseMethodDeclarationRest(String optionalDocComment, Java.Modifiers modifiers, Java.Type type, String name)MethodDeclarationRest := FormalParameters { '[' ']' } [ 'throws' ReferenceTypeList ] ( ';' | MethodBody )Constructors in org.codehaus.janino with parameters of type Java.Type Constructor Description AnonymousClassDeclaration(Location location, Java.Type baseType)ArrayType(Java.Type componentType)Cast(Location location, Java.Type targetType, Java.Rvalue value)ClassLiteral(Location location, Java.Type type)ConstructorDeclarator(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.FunctionDeclarator.FormalParameters parameters, Java.Type[] thrownExceptions, Java.ConstructorInvocation optionalConstructorInvocation, List<Java.BlockStatement> statements)FieldDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators)FormalParameter(Location location, boolean finaL, Java.Type type, String name)FunctionDeclarator(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters parameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> optionalStatements)Instanceof(Location location, Java.Rvalue lhs, Java.Type rhs)InterfaceDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type[] extendedTypes)LocalClassDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type optionalExtendedType, Java.Type[] implementedTypes)LocalVariableDeclarationStatement(Location location, Java.Modifiers modifiers, Java.Type type, Java.VariableDeclarator[] variableDeclarators)MarkerAnnotation(Java.Type type)MemberClassDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type optionalExtendedType, Java.Type[] implementedTypes)MemberInterfaceDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type[] extendedTypes)MethodDeclarator(Location location, String optionalDocComment, Java.Modifiers modifiers, Java.Type type, String name, Java.FunctionDeclarator.FormalParameters parameters, Java.Type[] thrownExceptions, List<? extends Java.BlockStatement> optionalStatements)NamedClassDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type optionalExtendedType, Java.Type[] implementedTypes)NewArray(Location location, Java.Type type, Java.Rvalue[] dimExprs, int dims)Create a new array with dimension dimExprs.length + dimsNewClassInstance(Location location, Java.Rvalue optionalQualification, Java.Type type, Java.Rvalue[] arguments)NormalAnnotation(Java.Type type, Java.ElementValuePair[] elementValuePairs)PackageMemberClassDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type optionalExtendedType, Java.Type[] implementedTypes)PackageMemberInterfaceDeclaration(Location location, String optionalDocComment, Java.Modifiers modifiers, String name, Java.TypeParameter[] optionalTypeParameters, Java.Type[] extendedTypes)QualifiedThisReference(Location location, Java.Type qualification)SingleElementAnnotation(Java.Type type, Java.ElementValue elementValue)SuperclassFieldAccessExpression(Location location, Java.Type optionalQualification, String fieldName) -
Uses of Java.Type in org.codehaus.janino.util
Methods in org.codehaus.janino.util with parameters of type Java.Type Modifier and Type Method Description voidTraverser. traverseType(Java.Type t)
-