Tabnine Logo
TypeDef.toUnboundedReference
Code IndexAdd Tabnine to your IDE (free)

How to use
toUnboundedReference
method
in
io.sundr.codegen.model.TypeDef

Best Java code snippets using io.sundr.codegen.model.TypeDef.toUnboundedReference (Showing top 2 results out of 315)

origin: sundrio/sundrio

/**
 * The method adapts constructor method to the current class. It unsets any name that may be
 * presetn in the method. It also sets as a return type a reference to the current type.
 */
private static List<Method> adaptConstructors(List<Method> methods, TypeDef target) {
  List<Method> adapted = new ArrayList<Method>();
  for (Method m : methods) {
    adapted.add(new MethodBuilder(m)
        .withName(null)
        .withReturnType(target.toUnboundedReference())
        .build());
  }
  return adapted;
}
origin: sundrio/sundrio

methods.add(new MethodBuilder(m).withReturnType(current.toUnboundedReference()).build());
io.sundr.codegen.modelTypeDeftoUnboundedReference

Javadoc

Creates a ClassRef without bounds.

Popular methods of TypeDef

  • getFullyQualifiedName
    Returns the fully qualified name of the type.
  • getName
  • getPackageName
  • equals
  • getAttributes
  • getConstructors
  • getExtendsList
  • getMethods
  • getParameters
  • getProperties
  • toInternalReference
    Creates a ClassRef for internal use inside the scope of the type (methods, properties etc). It uses
  • toReference
  • toInternalReference,
  • toReference,
  • getAnnotations,
  • getAttribute,
  • getImplementsList,
  • getKind,
  • hasAttribute,
  • isAbstract,
  • isAssignableFrom

Popular in Java

  • Making http post requests using okhttp
  • getApplicationContext (Context)
  • requestLocationUpdates (LocationManager)
  • onCreateOptionsMenu (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Arrays (java.util)
    This class contains various methods for manipulating arrays (such as sorting and searching). This cl
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Modifier (javassist)
    The Modifier class provides static methods and constants to decode class and member access modifiers
  • Github Copilot alternatives
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