Example usage for org.eclipse.jdt.core.dom AnnotationTypeMemberDeclaration TYPE_PROPERTY

List of usage examples for org.eclipse.jdt.core.dom AnnotationTypeMemberDeclaration TYPE_PROPERTY

Introduction

In this page you can find the example usage for org.eclipse.jdt.core.dom AnnotationTypeMemberDeclaration TYPE_PROPERTY.

Prototype

ChildPropertyDescriptor TYPE_PROPERTY

To view the source code for org.eclipse.jdt.core.dom AnnotationTypeMemberDeclaration TYPE_PROPERTY.

Click Source Link

Document

The "type" structural property of this node type (child type: Type ).

Usage

From source file:org.eclipse.emf.codegen.merge.java.facade.ast.ASTJAnnotationTypeMember.java

License:Open Source License

public void setType(String type) {
    this.type = type;
    setTrackedNodeProperty(getASTNode(), type, AnnotationTypeMemberDeclaration.TYPE_PROPERTY,
            ASTNode.SIMPLE_TYPE);/*  w  ww  .  j  a v  a  2s . c o  m*/
}

From source file:org.jboss.forge.parser.java.impl.AnnotationElementImpl.java

License:Open Source License

@Override
public String getQualifiedType() {
    Object type = member.getStructuralProperty(AnnotationTypeMemberDeclaration.TYPE_PROPERTY);
    return parent.resolveType(type.toString());
}

From source file:org.jboss.forge.parser.java.impl.AnnotationElementImpl.java

License:Open Source License

@Override
public org.jboss.forge.parser.java.Type<JavaAnnotation> getTypeInspector() {
    return new TypeImpl<JavaAnnotation>(parent,
            member.getStructuralProperty(AnnotationTypeMemberDeclaration.TYPE_PROPERTY));
}

From source file:org.jboss.forge.roaster.model.impl.AnnotationElementImpl.java

License:Open Source License

@Override
public Type<JavaAnnotationSource> getType() {
    return new TypeImpl<JavaAnnotationSource>(parent,
            member.getStructuralProperty(AnnotationTypeMemberDeclaration.TYPE_PROPERTY));
}