Tabnine Logo
ProxettaFactory.dumpClassInDebugFolder
Code IndexAdd Tabnine to your IDE (free)

How to use
dumpClassInDebugFolder
method
in
jodd.proxetta.ProxettaFactory

Best Java code snippets using jodd.proxetta.ProxettaFactory.dumpClassInDebugFolder (Showing top 4 results out of 315)

origin: oblac/jodd

/**
 * Returns byte array of created class.
 */
public byte[] create() {
  process();
  byte[] result = toByteArray();
  dumpClassInDebugFolder(result);
  if ((!proxetta.isForced()) && (!isProxyApplied())) {
    if (log.isDebugEnabled()) {
      log.debug("Proxy not applied: " + StringUtil.toSafeString(targetClassName));
    }
    return null;
  }
  if (log.isDebugEnabled()) {
    log.debug("Proxy created " + StringUtil.toSafeString(targetClassName));
  }
  return result;
}
origin: oblac/jodd

dumpClassInDebugFolder(bytes);
origin: org.jodd/jodd-proxetta

/**
 * Returns byte array of created class.
 */
public byte[] create() {
  process();
  byte[] result = toByteArray();
  dumpClassInDebugFolder(result);
  if ((!proxetta.isForced()) && (!isProxyApplied())) {
    if (log.isDebugEnabled()) {
      log.debug("Proxy not applied: " + StringUtil.toSafeString(targetClassName));
    }
    return null;
  }
  if (log.isDebugEnabled()) {
    log.debug("Proxy created " + StringUtil.toSafeString(targetClassName));
  }
  return result;
}
origin: org.jodd/jodd-proxetta

dumpClassInDebugFolder(bytes);
jodd.proxettaProxettaFactorydumpClassInDebugFolder

Javadoc

Writes created class content to output folder for debugging purposes.

Popular methods of ProxettaFactory

  • setTarget
    Defines class name as a target. Class will not be loaded by classloader!
  • define
    Defines class.
  • _this
  • assertProxyIsCreated
    Checks if proxy is created and throws an exception if not.
  • assertTargetIsNotDefined
    Checks if target is not defined yet.
  • getProxyClassName
    Returns proxy class name.
  • isProxyApplied
    Returns true if at least one method was wrapped.
  • process
  • toByteArray
    Returns raw bytecode.
  • newInstance
    Creates new instance of created class. Assumes default no-arg constructor.

Popular in Java

  • Parsing JSON documents to java classes using gson
  • scheduleAtFixedRate (ScheduledExecutorService)
  • setScale (BigDecimal)
  • getExternalFilesDir (Context)
  • Point (java.awt)
    A point representing a location in (x,y) coordinate space, specified in integer precision.
  • Runnable (java.lang)
    Represents a command that can be executed. Often used to run code in a different Thread.
  • Thread (java.lang)
    A thread is a thread of execution in a program. The Java Virtual Machine allows an application to ha
  • BigDecimal (java.math)
    An immutable arbitrary-precision signed decimal.A value is represented by an arbitrary-precision "un
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • JFileChooser (javax.swing)
  • Top 12 Jupyter Notebook extensions
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