Tabnine Logo
MemberHoldingTypeDetails.getExtendsTypes
Code IndexAdd Tabnine to your IDE (free)

How to use
getExtendsTypes
method
in
org.springframework.roo.classpath.details.MemberHoldingTypeDetails

Best Java code snippets using org.springframework.roo.classpath.details.MemberHoldingTypeDetails.getExtendsTypes (Showing top 4 results out of 315)

origin: spring-projects/spring-roo

private void init(final MemberHoldingTypeDetails existing) {
 for (final ConstructorMetadata element : existing.getDeclaredConstructors()) {
  declaredConstructors.add(new ConstructorMetadataBuilder(element));
 }
 for (final FieldMetadata element : existing.getDeclaredFields()) {
  declaredFields.add(new FieldMetadataBuilder(element));
 }
 for (final MethodMetadata element : existing.getDeclaredMethods()) {
  declaredMethods.add(new MethodMetadataBuilder(element));
 }
 for (final ClassOrInterfaceTypeDetails element : existing.getDeclaredInnerTypes()) {
  declaredInnerTypes.add(new ClassOrInterfaceTypeDetailsBuilder(element));
 }
 for (final InitializerMetadata element : existing.getDeclaredInitializers()) {
  declaredInitializers.add(new InitializerMetadataBuilder(element));
 }
 extendsTypes.addAll(existing.getExtendsTypes());
 implementsTypes.addAll(existing.getImplementsTypes());
}
origin: spring-projects/spring-roo

List<JavaType> allExtendsTypes = memberHoldingTypeDetails.getExtendsTypes();
for (JavaType extendsType : allExtendsTypes) {
origin: org.springframework.roo/org.springframework.roo.addon.test.addon

List<JavaType> extendsTypes = detail.getExtendsTypes();
for (JavaType extendJavaType : extendsTypes) {
 for (MethodMetadata method : getAllMethods(extendJavaType)) {
origin: org.springframework.roo/org.springframework.roo.classpath

private void init(final MemberHoldingTypeDetails existing) {
 for (final ConstructorMetadata element : existing.getDeclaredConstructors()) {
  declaredConstructors.add(new ConstructorMetadataBuilder(element));
 }
 for (final FieldMetadata element : existing.getDeclaredFields()) {
  declaredFields.add(new FieldMetadataBuilder(element));
 }
 for (final MethodMetadata element : existing.getDeclaredMethods()) {
  declaredMethods.add(new MethodMetadataBuilder(element));
 }
 for (final ClassOrInterfaceTypeDetails element : existing.getDeclaredInnerTypes()) {
  declaredInnerTypes.add(new ClassOrInterfaceTypeDetailsBuilder(element));
 }
 for (final InitializerMetadata element : existing.getDeclaredInitializers()) {
  declaredInitializers.add(new InitializerMetadataBuilder(element));
 }
 extendsTypes.addAll(existing.getExtendsTypes());
 implementsTypes.addAll(existing.getImplementsTypes());
}
org.springframework.roo.classpath.detailsMemberHoldingTypeDetailsgetExtendsTypes

Javadoc

Lists the classes this type extends. This may be empty. Always empty in the case of an enum.

While a List is used, normally in Java a class will only extend a single other class. A List is used to support interfaces, as well as support the special "declare parents: DestinationType extends SuperclassType" feature of ITDs which permits effectively multiple inheritance.

Popular methods of MemberHoldingTypeDetails

  • getLayerEntities
    If this is a layering component, for example a service or repository, returns the domain entities ma
  • getDeclaredMethods
  • getAnnotations
  • getDeclaredFields
  • getDeclaredByMetadataId
  • getDeclaredConstructors
  • getImplementsTypes
    Lists the classes this type implements. Always empty in the case of an interface. A List is used to
  • getImports
    Lists the imports this class includes. Also obtains imports from ITDs.
  • getMethods
    Locates all methods on this class and its superclasses.
  • getType
  • getAnnotation
  • getCustomData
  • getAnnotation,
  • getCustomData,
  • getDeclaredConstructor,
  • getDeclaredField,
  • getDeclaredInitializers,
  • getDeclaredInnerType,
  • getDeclaredInnerTypes,
  • getDynamicFinderNames,
  • getField

Popular in Java

  • Creating JSON documents from java classes using gson
  • findViewById (Activity)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Date (java.sql)
    A class which can consume and produce dates in SQL Date format. Dates are represented in SQL as yyyy
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • ArrayList (java.util)
    ArrayList is an implementation of List, backed by an array. All optional operations including adding
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • SortedSet (java.util)
    SortedSet is a Set which iterates over its elements in a sorted order. The order is determined eithe
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now