- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for addAnnotationTypeName (0.1 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/SourceMetaDataVisitor.java
PropertyMetaData property = getCurrentClass().addReadableProperty(propName, returnType, rawCommentText, methodMetaData); methodMetaData.getAnnotationTypeNames().forEach(property::addAnnotationTypeName); property.setReplacement(methodMetaData.getReplacement()); return; } if (methodMetaData.getParameters().size() != 1) { return; }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Mon Aug 19 15:07:24 UTC 2024 - 11.8K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/ClassMetaDataTest.groovy
def "is deprecated when @Deprecated annotation is attached to class"() { def notDeprecated = new ClassMetaData("SomeClass") def deprecated = new ClassMetaData("SomeClass") deprecated.addAnnotationTypeName(Deprecated.class.name) expect: !notDeprecated.deprecated deprecated.deprecated } def "is incubating when @Incubating annotation is attached to class"() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy
def notDeprecated = new PropertyMetaData('param', classMetaData) def deprecated = new PropertyMetaData('param', classMetaData) deprecated.addAnnotationTypeName(Deprecated.class.name) expect: !notDeprecated.deprecated deprecated.deprecated } def "is incubating when @Incubating is attached to property"() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/AbstractLanguageElement.java
this.rawCommentText = rawCommentText; } @Override public List<String> getAnnotationTypeNames() { return annotationNames; } public void addAnnotationTypeName(String annotationType) { annotationNames.add(annotationType); } @Override public boolean isDeprecated() { return annotationNames.contains(Deprecated.class.getName()); }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.9K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/MethodMetaDataTest.groovy
def "is deprecated when @Deprecated is attached to method"() { def notDeprecated = new MethodMetaData('param', owner) def deprecated = new MethodMetaData('param', owner) deprecated.addAnnotationTypeName(Deprecated.class.name) expect: !notDeprecated.deprecated deprecated.deprecated } def "is incubating when @Incubating is attached to method"() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 5.6K bytes - Viewed (0)