Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for EnumConstantMetaData (0.2 sec)

  1. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/EnumConstantMetaData.java

     */
    
    package gradlebuild.docs.dsl.source.model;
    
    import java.io.Serializable;
    
    public class EnumConstantMetaData extends AbstractLanguageElement implements Serializable {
        private final String name;
        private final ClassMetaData ownerClass;
    
        public EnumConstantMetaData(String name, ClassMetaData ownerClass) {
            this.name = name;
            this.ownerClass = ownerClass;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 1.2K bytes
    - Viewed (0)
  2. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java

        }
    
        public void addEnumConstant(String name) {
            enumConstants.add(new EnumConstantMetaData(name, this));
        }
    
        public List<EnumConstantMetaData> getEnumConstants() {
            return enumConstants;
        }
    
        public EnumConstantMetaData getEnumConstant(String name) {
            for (EnumConstantMetaData enumConstant : enumConstants) {
                if (enumConstant.getName().equals(name)) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 10.1K bytes
    - Viewed (0)
  3. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaData.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.links;
    
    import gradlebuild.docs.dsl.source.model.ClassMetaData;
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.model.Attachable;
    import gradlebuild.docs.model.ClassMetaDataRepository;
    import org.gradle.util.CollectionUtils;
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.4K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/JavadocLinkConverterTest.groovy

            then:
            format(link) == '<someLinkElement/>'
        }
    
        def convertsEnumConstantLinkToLiteralValue() {
            ClassMetaData enumClass = Mock()
            EnumConstantMetaData enumConstant = new EnumConstantMetaData("SOME_ENUM_VALUE", enumClass)
    
            when:
            def link = converter.resolve('SomeName#SOME_ENUM_VALUE', classMetaData, listener)
    
            then:
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 8.7K bytes
    - Viewed (0)
  5. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/LinkRenderer.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook;
    
    import gradlebuild.docs.dsl.source.model.EnumConstantMetaData;
    import gradlebuild.docs.dsl.source.model.MethodMetaData;
    import gradlebuild.docs.dsl.source.model.TypeMetaData;
    import groovy.lang.GroovySystem;
    import org.apache.commons.lang.StringUtils;
    import org.w3c.dom.Document;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6.3K bytes
    - Viewed (0)
Back to top