Class TransformDescriptor

java.lang.Object
org.openjdk.jmc.agent.TransformDescriptor
Direct Known Subclasses:
JFRTransformDescriptor

public abstract class TransformDescriptor extends Object
General metadata describing a transform to take place for a method.
  • Field Details

  • Constructor Details

  • Method Details

    • getId

      public String getId()
    • getClassName

      public String getClassName()
    • getMethod

      public Method getMethod()
    • getTransformationAttributes

      public Map<String,String> getTransformationAttributes()
    • isPendingTransforms

      public boolean isPendingTransforms()
    • setPendingTransforms

      public void setPendingTransforms(boolean hasPendingTransforms)
    • getTransformationAttribute

      protected String getTransformationAttribute(String attribute)
    • create

      public static TransformDescriptor create(String id, String internalName, Method method, Map<String,String> values, List<Parameter> parameters, ReturnValue returnValue, List<Field> fields)
      Factory method for creating TransformDescriptor instances.
      Parameters:
      id - transform id
      internalName - the class name in VM internal form.
      method - the method (see Method)
      values - the values describing the transform.
      parameters - the parameters to include (see Parameter).
      Returns:
      the instantiated TransformDescriptor.
    • toString

      public String toString()
      Overrides:
      toString in class Object