Class AbstractBaseJavaEntity

    • Constructor Detail

      • AbstractBaseJavaEntity

        public AbstractBaseJavaEntity()
    • Method Detail

      • setSource

        public void setSource​(JavaSource source)
      • getDeclaringClass

        public JavaClass getDeclaringClass()
        Not every entity has a parentClass, but AnnotationFieldRef requires access to it. When used with JavaClass, don't confuse this with getSuperClass()
        Returns:
        the surrounding class
      • getComment

        public String getComment()
      • setComment

        public void setComment​(String comment)
      • getNamedParameter

        public String getNamedParameter​(String tagName,
                                        String parameterName)
        Convenience method for getTagByName(String).getNamedParameter(String) that also checks for null tag.
        Parameters:
        tagName - the name of the docletTag
        parameterName - the name of the parameter
        Returns:
        the value of the named parameter
        Since:
        1.3