Search in sources :

Example 1 with AnnotationReader

use of dyvilx.tools.compiler.backend.visitor.AnnotationReader in project Dyvil by Dyvil.

the class IParameter method visitAnnotation.

default AnnotationVisitor visitAnnotation(String internalType) {
    if (this.skipAnnotation(internalType, null)) {
        return null;
    }
    IType type = new InternalType(internalType);
    Annotation annotation = new ExternalAnnotation(type);
    return new AnnotationReader(this, annotation);
}
Also used : InternalType(dyvilx.tools.compiler.ast.type.raw.InternalType) ExternalAnnotation(dyvilx.tools.compiler.ast.attribute.annotation.ExternalAnnotation) AnnotationReader(dyvilx.tools.compiler.backend.visitor.AnnotationReader) Annotation(dyvilx.tools.compiler.ast.attribute.annotation.Annotation) ExternalAnnotation(dyvilx.tools.compiler.ast.attribute.annotation.ExternalAnnotation) IType(dyvilx.tools.compiler.ast.type.IType)

Aggregations

Annotation (dyvilx.tools.compiler.ast.attribute.annotation.Annotation)1 ExternalAnnotation (dyvilx.tools.compiler.ast.attribute.annotation.ExternalAnnotation)1 IType (dyvilx.tools.compiler.ast.type.IType)1 InternalType (dyvilx.tools.compiler.ast.type.raw.InternalType)1 AnnotationReader (dyvilx.tools.compiler.backend.visitor.AnnotationReader)1