Tabnine Logo
ClassDefinition.replaceInterface
Code IndexAdd Tabnine to your IDE (free)

How to use
replaceInterface
method
in
org.eclipse.persistence.internal.codegen.ClassDefinition

Best Java code snippets using org.eclipse.persistence.internal.codegen.ClassDefinition.replaceInterface (Showing top 3 results out of 315)

origin: com.haulmont.thirdparty/eclipselink

private void adjustTypeNames(HashMap typeNameMap) {
  setSuperClass(adjustTypeName(getSuperClass(), typeNameMap));
  for (Iterator i = new Vector(getInterfaces()).iterator(); i.hasNext();) {
    String interfaceName = (String)i.next();
    replaceInterface(interfaceName, adjustTypeName(interfaceName, typeNameMap));
  }
  for (Iterator i = getAttributes().iterator(); i.hasNext();) {
    ((AttributeDefinition)i.next()).adjustTypeNames(typeNameMap);
  }
  for (Iterator i = getMethods().iterator(); i.hasNext();) {
    ((MethodDefinition)i.next()).adjustTypeNames(typeNameMap);
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

private void adjustTypeNames(HashMap typeNameMap) {
  setSuperClass(adjustTypeName(getSuperClass(), typeNameMap));
  for (Iterator i = new Vector(getInterfaces()).iterator(); i.hasNext();) {
    String interfaceName = (String)i.next();
    replaceInterface(interfaceName, adjustTypeName(interfaceName, typeNameMap));
  }
  for (Iterator i = getAttributes().iterator(); i.hasNext();) {
    ((AttributeDefinition)i.next()).adjustTypeNames(typeNameMap);
  }
  for (Iterator i = getMethods().iterator(); i.hasNext();) {
    ((MethodDefinition)i.next()).adjustTypeNames(typeNameMap);
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

private void adjustTypeNames(HashMap typeNameMap) {
  setSuperClass(adjustTypeName(getSuperClass(), typeNameMap));
  for (Iterator i = new Vector(getInterfaces()).iterator(); i.hasNext();) {
    String interfaceName = (String)i.next();
    replaceInterface(interfaceName, adjustTypeName(interfaceName, typeNameMap));
  }
  for (Iterator i = getAttributes().iterator(); i.hasNext();) {
    ((AttributeDefinition)i.next()).adjustTypeNames(typeNameMap);
  }
  for (Iterator i = getMethods().iterator(); i.hasNext();) {
    ((MethodDefinition)i.next()).adjustTypeNames(typeNameMap);
  }
}
org.eclipse.persistence.internal.codegenClassDefinitionreplaceInterface

Popular methods of ClassDefinition

  • <init>
  • addImport
    The importStatement should be of the form "{packageName}.{shortName or '*'}"
  • addImports
  • addMethod
  • addTypeNamesToMap
  • adjustTypeName
  • adjustTypeNames
  • getAttributes
  • getImports
  • getInnerClasses
  • getInterfaces
  • getMethods
  • getInterfaces,
  • getMethods,
  • getName,
  • getPackageName,
  • getSuperClass,
  • getType,
  • isInterface,
  • putTypeNameInMap,
  • setComment

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • requestLocationUpdates (LocationManager)
  • File (java.io)
    An "abstract" representation of a file system entity identified by a pathname. The pathname may be a
  • Format (java.text)
    The base class for all formats. This is an abstract base class which specifies the protocol for clas
  • BitSet (java.util)
    The BitSet class implements abit array [http://en.wikipedia.org/wiki/Bit_array]. Each element is eit
  • GregorianCalendar (java.util)
    GregorianCalendar is a concrete subclass of Calendarand provides the standard calendar used by most
  • HashSet (java.util)
    HashSet is an implementation of a Set. All optional operations (adding and removing) are supported.
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top PhpStorm plugins
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