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

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

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

origin: spring-projects/spring-roo

public AnnotationMetadata getAnnotation(final JavaType type) {
 Validate.notNull(type, "Annotation type to locate required");
 for (final MemberHoldingTypeDetails memberHoldingTypeDetails : details) {
  final AnnotationMetadata md = memberHoldingTypeDetails.getAnnotation(type);
  if (md != null) {
   return md;
  }
 }
 return null;
}
origin: org.springframework.roo/org.springframework.roo.classpath

public AnnotationMetadata getAnnotation(final JavaType type) {
 Validate.notNull(type, "Annotation type to locate required");
 for (final MemberHoldingTypeDetails memberHoldingTypeDetails : details) {
  final AnnotationMetadata md = memberHoldingTypeDetails.getAnnotation(type);
  if (md != null) {
   return md;
  }
 }
 return null;
}
org.springframework.roo.classpath.detailsMemberHoldingTypeDetailsgetAnnotation

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
  • getExtendsTypes
    Lists the classes this type extends. This may be empty. Always empty in the case of an enum. While a
  • 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
  • getCustomData
  • getType,
  • getCustomData,
  • getDeclaredConstructor,
  • getDeclaredField,
  • getDeclaredInitializers,
  • getDeclaredInnerType,
  • getDeclaredInnerTypes,
  • getDynamicFinderNames,
  • getField

Popular in Java

  • Finding current android device location
  • scheduleAtFixedRate (ScheduledExecutorService)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • GridBagLayout (java.awt)
    The GridBagLayout class is a flexible layout manager that aligns components vertically and horizonta
  • Kernel (java.awt.image)
  • FileOutputStream (java.io)
    An output stream that writes bytes to a file. If the output file exists, it can be replaced or appen
  • SocketException (java.net)
    This SocketException may be thrown during socket creation or setting options, and is the superclass
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • 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