Class TurbineElement

  • All Implemented Interfaces:
    javax.lang.model.AnnotatedConstruct, javax.lang.model.element.Element

    public abstract class TurbineElement
    extends java.lang.Object
    implements javax.lang.model.element.Element
    An Element implementation backed by a Symbol.
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      protected abstract com.google.common.collect.ImmutableList<AnnoInfo> annos()  
      abstract boolean equals​(@Nullable java.lang.Object obj)  
      <A extends java.lang.annotation.Annotation>
      A
      getAnnotation​(java.lang.Class<A> annotationType)  
      java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()  
      <A extends java.lang.annotation.Annotation>
      A[]
      getAnnotationsByType​(java.lang.Class<A> annotationType)  
      abstract int hashCode()  
      abstract java.lang.String javadoc()  
      protected <T> com.google.common.base.Supplier<T> memoize​(com.google.common.base.Supplier<T> supplier)  
      abstract Symbol sym()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface javax.lang.model.element.Element

        accept, asType, getEnclosedElements, getEnclosingElement, getKind, getModifiers, getSimpleName
    • Constructor Detail

      • TurbineElement

        protected TurbineElement​(ModelFactory factory)
    • Method Detail

      • sym

        public abstract Symbol sym()
      • javadoc

        public abstract java.lang.String javadoc()
      • hashCode

        public abstract int hashCode()
        Specified by:
        hashCode in interface javax.lang.model.element.Element
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public abstract boolean equals​(@Nullable java.lang.Object obj)
        Specified by:
        equals in interface javax.lang.model.element.Element
        Overrides:
        equals in class java.lang.Object
      • memoize

        protected <T> com.google.common.base.Supplier<T> memoize​(com.google.common.base.Supplier<T> supplier)
      • getAnnotation

        public <A extends java.lang.annotation.Annotation> A getAnnotation​(java.lang.Class<A> annotationType)
        Specified by:
        getAnnotation in interface javax.lang.model.AnnotatedConstruct
        Specified by:
        getAnnotation in interface javax.lang.model.element.Element
      • getAnnotationsByType

        public final <A extends java.lang.annotation.Annotation> A[] getAnnotationsByType​(java.lang.Class<A> annotationType)
        Specified by:
        getAnnotationsByType in interface javax.lang.model.AnnotatedConstruct
      • getAnnotationMirrors

        public final java.util.List<? extends javax.lang.model.element.AnnotationMirror> getAnnotationMirrors()
        Specified by:
        getAnnotationMirrors in interface javax.lang.model.AnnotatedConstruct
        Specified by:
        getAnnotationMirrors in interface javax.lang.model.element.Element
      • annos

        protected abstract com.google.common.collect.ImmutableList<AnnoInfo> annos()