Lines Matching refs:transformer

71      * Registers the supplied transformer. All future class definitions
72 * will be seen by the transformer, except definitions of classes upon which any
73 * registered transformer is dependent.
74 * The transformer is called when classes are loaded, when they are
80 * If a transformer throws
82 * transformers in order. The same transformer may be added more than once,
84 * transformer class.
89 * @param transformer the transformer to register
90 * @param canRetransform can this transformer's transformations be retransformed
91 * @throws java.lang.NullPointerException if passed a <code>null</code> transformer
98 addTransformer(ClassFileTransformer transformer, boolean canRetransform);
101 * Registers the supplied transformer.
103 * Same as <code>addTransformer(transformer, false)</code>.
105 * @param transformer the transformer to register
106 * @throws java.lang.NullPointerException if passed a <code>null</code> transformer
110 addTransformer(ClassFileTransformer transformer);
113 * Unregisters the supplied transformer. Future class definitions will
114 * not be shown to the transformer. Removes the most-recently-added matching
115 * instance of the transformer. Due to the multi-threaded nature of
116 * class loading, it is possible for a transformer to receive calls
120 * @param transformer the transformer to unregister
121 * @return true if the transformer was found and removed, false if the
122 * transformer was not found
123 * @throws java.lang.NullPointerException if passed a <code>null</code> transformer
126 removeTransformer(ClassFileTransformer transformer);
164 * <li>for each transformer that was added with <code>canRetransform</code>
174 * <li>for each transformer that was added with <code>canRetransform</code>
621 * transformer needs its own prefix. Since transformations
628 * the second transformer did not apply a wrapper to
638 * @param transformer
645 * this transformer.
646 * @throws java.lang.NullPointerException if passed a <code>null</code> transformer.
650 * @throws java.lang.IllegalArgumentException if the transformer is not registered
656 setNativeMethodPrefix(ClassFileTransformer transformer, String prefix);