Class TypeParameterModel


  • public class TypeParameterModel
    extends java.lang.Object
    Representation of a generic type parameter.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private javax.lang.model.util.Elements elementUtils  
      private javax.lang.model.type.TypeMirror typeMirror  
    • Constructor Summary

      Constructors 
      Constructor Description
      TypeParameterModel​(javax.lang.model.util.Elements elementUtils, javax.lang.model.type.TypeMirror typeMirror)  
    • Field Detail

      • elementUtils

        private final javax.lang.model.util.Elements elementUtils
      • typeMirror

        private final javax.lang.model.type.TypeMirror typeMirror
    • Constructor Detail

      • TypeParameterModel

        public TypeParameterModel​(javax.lang.model.util.Elements elementUtils,
                                  javax.lang.model.type.TypeMirror typeMirror)
    • Method Detail

      • asTypeVar

        public java.lang.String asTypeVar()
      • isType

        public boolean isType()
      • isTypeVar

        public boolean isTypeVar()
      • isTypeKind

        private boolean isTypeKind​(javax.lang.model.type.TypeKind typeKind)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object