Tabnine Logo
JavaParameterService
Code IndexAdd Tabnine to your IDE (free)

How to use
JavaParameterService
in
org.jboss.windup.rules.apps.java.service

Best Java code snippets using org.jboss.windup.rules.apps.java.service.JavaParameterService (Showing top 6 results out of 315)

origin: windup/windup

public JavaMethodService(GraphContext context)
{
  super(context, JavaMethodModel.class);
  this.paramService = new JavaParameterService(context);
}
origin: org.jboss.windup.rules.apps/rules-java

public synchronized JavaMethodModel createJavaMethod(JavaClassModel clz, String javaMethod,
      JavaClassModel... params)
{
  for (JavaMethodModel method : clz.getMethod(javaMethod))
  {
    if (method.countParameters() != params.length)
    {
      continue;
    }
    if (methodParametersMatch(method, params))
    {
      return method;
    }
  }
  JavaMethodModel method = create();
  method.setMethodName(javaMethod);
  for (int i = 0, j = params.length; i < j; i++)
  {
    JavaParameterModel param = paramService.create();
    param.setPosition(i);
    param.setJavaType(params[i]);
  }
  return method;
}
origin: windup/windup

public synchronized JavaMethodModel createJavaMethod(JavaClassModel clz, String javaMethod,
      JavaClassModel... params)
{
  for (JavaMethodModel method : clz.getMethod(javaMethod))
  {
    if (method.countParameters() != params.length)
    {
      continue;
    }
    if (methodParametersMatch(method, params))
    {
      return method;
    }
  }
  JavaMethodModel method = create();
  method.setMethodName(javaMethod);
  for (int i = 0, j = params.length; i < j; i++)
  {
    JavaParameterModel param = paramService.create();
    param.setPosition(i);
    param.setJavaType(params[i]);
  }
  return method;
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

public JavaMethodService(GraphContext context)
{
  super(context, JavaMethodModel.class);
  this.paramService = new JavaParameterService(context);
}
origin: org.jboss.windup.rules.apps/windup-rules-java-api

public synchronized JavaMethodModel createJavaMethod(JavaClassModel clz, String javaMethod,
      JavaClassModel... params)
{
  for (JavaMethodModel method : clz.getMethod(javaMethod))
  {
    if (method.countParameters() != params.length)
    {
      continue;
    }
    if (methodParametersMatch(method, params))
    {
      return method;
    }
  }
  JavaMethodModel method = create();
  method.setMethodName(javaMethod);
  for (int i = 0, j = params.length; i < j; i++)
  {
    JavaParameterModel param = paramService.create();
    param.setPosition(i);
    param.setJavaType(params[i]);
  }
  return method;
}
origin: org.jboss.windup.rules.apps/rules-java

public JavaMethodService(GraphContext context)
{
  super(context, JavaMethodModel.class);
  this.paramService = new JavaParameterService(context);
}
org.jboss.windup.rules.apps.java.serviceJavaParameterService

Javadoc

Just a convenience class for GraphService<JavaParameterModel>.

Most used methods

  • <init>
  • create

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • compareTo (BigDecimal)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • UnknownHostException (java.net)
    Thrown when a hostname can not be resolved.
  • MessageDigest (java.security)
    Uses a one-way hash function to turn an arbitrary number of bytes into a fixed-length byte sequence.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • 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