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

How to use
ProxettaException
in
jodd.proxetta

Best Java code snippets using jodd.proxetta.ProxettaException (Showing top 20 results out of 315)

origin: oblac/jodd

/**
 * Inserts total number of method's arguments.
 */
public static int argumentsCount() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Creates array of arguments values. It is more safely then to get one argument at time, since
 * the returned array has correct length.
 * Equals to: <code>new Object[] {arg1, arg2,...}</code>
 * @see #createArgumentsClassArray()
 * @see #argument(int) 
 */
public static Object[] createArgumentsArray() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts targets class annotation value. Inserts <code>null</code>
 * if annotation or element is missing.
 */
public static Object targetClassAnnotation(final String annotationClassName, final String element) {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts populated {@link jodd.proxetta.ProxyTargetInfo} instance.
 */
public static ProxyTargetInfo info() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Checks if target is not defined yet.
 */
private void assertTargetIsNotDefined() {
  if (targetInputStream != null) {
    throw new ProxettaException("Target already defined");
  }
}
origin: oblac/jodd

/**
 * Inserts target class.
 */
public static Class targetClass() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts target method name. Useful for reflection.
 */
public static String targetMethodName() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Assigns new value for an argument specified by 1-based index.
 */
public static void setArgument(final Object value, final int index) {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts proxy (i.e. target) instance.
 */
public static Object target() {
  throw new ProxettaException();
}

origin: oblac/jodd

/**
 * Inserts target method signature, java alike, including the method name.
 * Useful for identifying the method, since it is unique for class.
 * @see #targetMethodDescription()
 */
public static String targetMethodSignature() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts targets method annotation value. Inserts <code>null</code>
 * if annotation or element is missing.
 */
public static Object targetMethodAnnotation(final String annotationClassName, final String element) {
  throw new ProxettaException();
}
/**
origin: oblac/jodd

/**
 * Creates array of arguments types. Works correctly with <code>null</code> argument values.
 * Equals to: <code>new Class[] {Arg1Type.class, Arg2Type.class...}</code>
 * @see #createArgumentsArray()
 * @see #argumentType(int)
 */
public static Class[] createArgumentsClassArray() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts return type of target method. <code>null</code> is used for void.
 */
public static Class returnType() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts target method description, bytecode alike, <b>without</b> method name.
 * May be used for identifying the method.
 * @see #targetMethodSignature() 
 */
public static String targetMethodDescription() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Checks if proxy is created and throws an exception if not.
 */
protected void assertProxyIsCreated() {
  if (destClassWriter == null) {
    throw new ProxettaException("Target not accepted yet!");
  }
}
origin: oblac/jodd

/**
 * Inserts the invocation of target method and getting the invocation results.
 * Small types are converted to wrappers. If method is <code>void</code>,
 * <code>null</code> is used for return value.
 */
public static Object invoke() {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts type of method argument specified by 1-based index.
 * Works correctly with <code>null</code> argument values. 
 * @see #createArgumentsClassArray()
 */
public static Class argumentType(final int index) {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Inserts value of method argument specified by 1-based index.
 * @see #createArgumentsArray()
 */
public static Object argument(final int index) {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Prepares return value. Must be used as last method call:
 * <pre>
 *     ...
 *     return ProxyTarget.returnValue(xxx);
 * </pre>
 *
 * Used when returning values in general case, when return type may
 * be either primitive or an object. Also, must be used when returning <code>null</code>
 * for primitives.
 */
public static Object returnValue(final Object value) {
  throw new ProxettaException();
}
origin: oblac/jodd

/**
 * Returns argument index from the history.
 * <b>Must</b> POP value from the stack after the execution.
 */
protected int getArgumentIndex() {
  if (!isPrevious) {
    throw new ProxettaException("Unexpected previous instruction type used for setting argument index");
  }
  int argIndex;
  switch (opcode) {
    case ICONST_0: argIndex = 0; break;
    case ICONST_1: argIndex = 1; break;
    case ICONST_2: argIndex = 2; break;
    case ICONST_3: argIndex = 3; break;
    case ICONST_4: argIndex = 4; break;
    case ICONST_5: argIndex = 5; break;
    case BIPUSH:
    case SIPUSH:
      argIndex = operand; break;
    default:
      throw new ProxettaException("Unexpected previous instruction used for setting argument index");
  }
  return argIndex;
}
jodd.proxettaProxettaException

Most used methods

  • <init>

Popular in Java

  • Reading from database using SQL prepared statement
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • startActivity (Activity)
  • VirtualMachine (com.sun.tools.attach)
    A Java virtual machine. A VirtualMachine represents a Java virtual machine to which this Java vir
  • BorderLayout (java.awt)
    A border layout lays out a container, arranging and resizing its components to fit in five regions:
  • GridLayout (java.awt)
    The GridLayout class is a layout manager that lays out a container's components in a rectangular gri
  • Timer (java.util)
    Timers schedule one-shot or recurring TimerTask for execution. Prefer java.util.concurrent.Scheduled
  • JFrame (javax.swing)
  • Option (scala)
  • 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