- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 31 for classMetaData (0.11 sec)
-
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ClassMetaData.java
import java.util.Map; import java.util.Set; import java.util.TreeSet; /** * Static meta-data about a class extracted from the source for the class. */ public class ClassMetaData extends AbstractLanguageElement implements Serializable, Attachable<ClassMetaData>, TypeContainer { private final String className; private String superClassName; private final String packageName; private final MetaType metaType;
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 10.1K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/ClassMetaDataUtil.java
} } repository.each(new Action<ClassMetaData>() { @Override public void execute(ClassMetaData classMetaData) { if (classMetaData.getOuterClassName() != null) { // Ignore inner classes return; } String packageName = classMetaData.getPackageName();
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.4K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy
then: name == 'java.lang.String' _ * classMetaData.innerClassNames >> [] _ * classMetaData.imports >> [] } def resolvesUnqualifiedNameToDefaultPackagesAndClassesInGroovySource() { _ * classMetaData.innerClassNames >> [] _ * classMetaData.imports >> [] _ * classMetaData.groovy >> true expect:
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/model/PropertyMetaDataTest.groovy
*/ package gradlebuild.docs.dsl.source.model import spock.lang.Specification class PropertyMetaDataTest extends Specification { final ClassMetaData classMetaData = Mock() final PropertyMetaData propertyMetaData = new PropertyMetaData('prop', classMetaData) def formatsSignature() { def type = new TypeMetaData('org.gradle.SomeClass') propertyMetaData.type = type expect:
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/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocMethodsBuilderTest.groovy
def buildsMethodsForClass() { ClassMetaData classMetaData = classMetaData() MethodMetaData methodA = method('a', classMetaData) MethodMetaData methodB = method('b', classMetaData) MethodMetaData methodBOverload = method('b', classMetaData) MethodDoc methodAOverridden = methodDoc('a') MethodDoc methodC = methodDoc('c')
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 8.4K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/docbook/ClassDocSuperTypeBuilder.java
this.listener = listener; } /** * Builds and attaches the supertypes of the given class */ void build(ClassDoc classDoc) { ClassMetaData classMetaData = classDoc.getClassMetaData(); String superClassName = classMetaData.getSuperClassName(); if (superClassName != null) { // Assume this is a class and so has implemented all properties and methods somewhere in the superclass hierarchy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/links/ClassLinkMetaDataTest.groovy
import gradlebuild.docs.dsl.source.model.ClassMetaData import gradlebuild.docs.dsl.source.model.TypeMetaData class ClassLinkMetaDataTest extends Specification { public static final String SIMPLE_CLASSNAME = 'MyClass' public static final String METHOD_NAME = 'calculate' def "can define and look up overloaded methods"() { given: ClassMetaData classMetaData = new ClassMetaData("org.gradle.$SIMPLE_CLASSNAME")
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 2.7K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocPropertiesBuilderTest.groovy
_ * classMetaData.className >> name return classMetaData } def classDoc(String name = 'org.gradle.Class') { ClassDoc doc = Mock() _ * doc.name >> name _ * doc.toString() >> "ClassDoc '$name'" return doc } def property(String name, ClassMetaData classMetaData) { return property([:], name, classMetaData) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.6K bytes - Viewed (0) -
build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 7.5K bytes - Viewed (0) -
build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/EnumConstantMetaData.java
private final String name; private final ClassMetaData ownerClass; public EnumConstantMetaData(String name, ClassMetaData ownerClass) { this.name = name; this.ownerClass = ownerClass; } public String getName() { return name; } public ClassMetaData getOwnerClass() { return ownerClass; } @Override
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.2K bytes - Viewed (0)