Class ClassFileArtifact

    • Constructor Detail

      • ClassFileArtifact

        ClassFileArtifact​(java.io.File file,
                          ArtifactModel model)
        Creates a new class file artifact.
        Parameters:
        file - the file to read the artifact contents from
        model - the artifact model to create this folder artifact within
    • Method Detail

      • annotationValue

        public java.lang.String annotationValue​(java.lang.String annotation,
                                                java.lang.String field)
        Returns the annotation value.
        Parameters:
        annotation - the name of the annotation type
        field - the field to be returned
        Returns:
        the field or null if not found
      • classes

        public Set<JavaClass> classes()
        Returns the classes of this java file.
        Returns:
        the annotations