Example usage for com.google.gwt.core.ext.typeinfo JField getAnnotations

List of usage examples for com.google.gwt.core.ext.typeinfo JField getAnnotations

Introduction

In this page you can find the example usage for com.google.gwt.core.ext.typeinfo JField getAnnotations.

Prototype

Annotation[] getAnnotations();

Source Link

Document

Returns all the annotations present on this element.

Usage

From source file:org.jboss.errai.codegen.meta.impl.gwt.GWTField.java

License:Apache License

GWTField(final TypeOracle oracle, final JField field) {
    this.oracle = oracle;
    this.field = field;
    this.annotations = field.getAnnotations();
}

From source file:org.lirazs.gbackbone.gen.AnnotationsHelper.java

License:Apache License

public static Annotation[] getAnnotations(JField type) {
    return type.getAnnotations();
}