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

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

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

origin: spring-projects/spring-roo

/**
 * Locates the specified constructor.
 * 
 * @param memberHoldingTypeDetails the {@link MemberHoldingTypeDetails} to
 *            search (required)
 * @param parameters to locate (can be null if there are no parameters)
 * @return the constructor, or null if not found
 * @deprecated use
 *             {@link MemberHoldingTypeDetails#getDeclaredConstructor(List)}
 *             instead
 */
@Deprecated
public static ConstructorMetadata getDeclaredConstructor(
  final MemberHoldingTypeDetails memberHoldingTypeDetails, final List<JavaType> parameters) {
 return memberHoldingTypeDetails.getDeclaredConstructor(parameters);
}
origin: spring-projects/spring-roo

private void doModification(final ConstructorMetadata constructor, final CustomData customData) {
 final MemberHoldingTypeDetails memberHoldingTypeDetails =
   memberHoldingTypeDetailsMap.get(constructor.getDeclaredByMetadataId());
 if (memberHoldingTypeDetails != null) {
  final ConstructorMetadata matchedConstructor =
    memberHoldingTypeDetails.getDeclaredConstructor(AnnotatedJavaType
      .convertFromAnnotatedJavaTypes(constructor.getParameterTypes()));
  if (matchedConstructor != null
    && !matchedConstructor.getCustomData().keySet().containsAll(customData.keySet())) {
   final TypeDetailsBuilder typeDetailsBuilder =
     getTypeDetailsBuilder(memberHoldingTypeDetails);
   typeDetailsBuilder.addDataToConstructor(constructor, customData);
   changed = true;
  }
 }
}
origin: org.springframework.roo/org.springframework.roo.classpath

/**
 * Locates the specified constructor.
 * 
 * @param memberHoldingTypeDetails the {@link MemberHoldingTypeDetails} to
 *            search (required)
 * @param parameters to locate (can be null if there are no parameters)
 * @return the constructor, or null if not found
 * @deprecated use
 *             {@link MemberHoldingTypeDetails#getDeclaredConstructor(List)}
 *             instead
 */
@Deprecated
public static ConstructorMetadata getDeclaredConstructor(
  final MemberHoldingTypeDetails memberHoldingTypeDetails, final List<JavaType> parameters) {
 return memberHoldingTypeDetails.getDeclaredConstructor(parameters);
}
origin: org.springframework.roo/org.springframework.roo.classpath

private void doModification(final ConstructorMetadata constructor, final CustomData customData) {
 final MemberHoldingTypeDetails memberHoldingTypeDetails =
   memberHoldingTypeDetailsMap.get(constructor.getDeclaredByMetadataId());
 if (memberHoldingTypeDetails != null) {
  final ConstructorMetadata matchedConstructor =
    memberHoldingTypeDetails.getDeclaredConstructor(AnnotatedJavaType
      .convertFromAnnotatedJavaTypes(constructor.getParameterTypes()));
  if (matchedConstructor != null
    && !matchedConstructor.getCustomData().keySet().containsAll(customData.keySet())) {
   final TypeDetailsBuilder typeDetailsBuilder =
     getTypeDetailsBuilder(memberHoldingTypeDetails);
   typeDetailsBuilder.addDataToConstructor(constructor, customData);
   changed = true;
  }
 }
}
org.springframework.roo.classpath.detailsMemberHoldingTypeDetailsgetDeclaredConstructor

Javadoc

Locates the constructor with the specified parameter types.

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
  • getAnnotation
  • getType,
  • getAnnotation,
  • getCustomData,
  • 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
  • Top plugins for WebStorm
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