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

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

Introduction

In this page you can find the example usage for com.google.gwt.core.ext.typeinfo JConstructor 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.GWTConstructor.java

License:Apache License

public GWTConstructor(final TypeOracle oracle, final JConstructor c) {
    this.constructor = c;
    this.annotations = AnnotationParser.parseAnnotations(c.getAnnotations());

    this.declaringClass = GWTClass.newInstance(oracle, c.getEnclosingType());
    this.oracle = oracle;
}