/external/javassist/src/main/javassist/tools/reflect/ |
package.html | 7 <p>This package enables a metaobject to trap method calls and field 17 a runtime metaobject and a runtime class metaobject, which control 20 metaobject is created for every (base-level) instance but the 21 runtime class metaobject is created for every (base-level) class. 22 <code>Metaobject</code> is the root class of the runtime 23 metaobject and <code>ClassMetaobject</code> is the root class 24 of the runtime class metaobject.
|
Metalevel.java | 19 * An interface to access a metaobject and a class metaobject. 25 * Obtains the class metaobject associated with this object. 30 * Obtains the metaobject associated with this object. 32 Metaobject _getMetaobject(); 35 * Changes the metaobject associated with this object. 37 void _setMetaobject(Metaobject m);
|
Metaobject.java | 25 * A runtime metaobject. 27 * <p>A <code>Metaobject</code> is created for 29 * associated with a different metaobject. 31 * <p>The metaobject intercepts method calls 33 * of the method calls, a subclass of <code>Metaobject</code> 36 * <p>To obtain a metaobject, calls <code>_getMetaobject()</code> 39 * <ul><pre>Metaobject m = ((Metalevel)reflectiveObject)._getMetaobject(); 45 public class Metaobject implements Serializable { 51 * Constructs a <code>Metaobject</code>. The metaobject i [all...] |
Reflection.java | 27 * metaobject controlling that instance. The methods inherited from the 45 * public int f(int i) { <i>delegate to the metaobject</i> } 51 * public ClassMetaobject _getClass() { <i>return a class metaobject</i> } 52 * public Metaobject _getMetaobject() { <i>return a metaobject</i> } 53 * public void _setMetaobject(Metaobject m) { <i>change a metaobject</i> } 58 * @see javassist.tools.reflect.Metaobject 72 static final String metaobjectClassName = "javassist.tools.reflect.Metaobject"; 138 * @param metaobject the class name of metaobjects [all...] |
Compiler.java | 24 public String metaobject; field in class:CompiledClass 42 * this option. The default is <code>javassit.reflect.Metaobject</code>. 57 * The metaobject of a Dog object is a MetaDog object and the class 58 * metaobject is a CMetaDog object. 59 * The metaobject of a Cat object is a MetaCat object but 60 * the class metaobject is a default one. 66 * @see javassist.tools.reflect.Metaobject 98 if (entries[i].metaobject != null 102 if (entries[i].metaobject == null) 103 metaobj = "javassist.tools.reflect.Metaobject"; [all...] |
Sample.java | 22 private Metaobject _metaobject; 26 Metaobject mobj;
|
Loader.java | 146 * @param metaobject the class of metaobjects. 148 * <code>Metaobject</code>. 149 * @param metaclass the class of the class metaobject. 154 * @see javassist.tools.reflect.Metaobject 158 String metaobject, String metaclass) 161 return reflection.makeReflective(clazz, metaobject, metaclass);
|
CannotReflectException.java | 24 * either ClassMetaobject or Metaobject.
|
CannotInvokeException.java | 25 * @see javassist.tools.reflect.Metaobject#trapMethodcall(int, Object[])
|
ClassMetaobject.java | 26 * A runtime class metaobject. 32 * <p>To obtain a class metaobject, calls <code>_getClass()</code> 38 * @see javassist.tools.reflect.Metaobject 43 * The base-level methods controlled by a metaobject 294 * @see Metaobject#trapMethodcall(int,Object[])
|
/external/javassist/sample/duplicate/ |
Main.java | 4 Runtime metaobject (JDK 1.2 or later only).
6 With the javassist.tools.reflect package, the users can attach a metaobject
7 to an object. The metaobject can control the behavior of the object.
15 the object must be also sent to that copy. The metaobject is needed
21 First, run sample.duplicate.Viewer without a metaobject.
27 Then, run the same program with a metaobject, which is an instance
34 a metaobject would be attached.
|
DuplicatedObject.java | 5 public class DuplicatedObject extends Metaobject {
8 // if a base-level object is created, this metaobject creates
|
/external/javassist/sample/reflect/ |
Person.java | 8 import javassist.tools.reflect.Metaobject;
45 // change the metaobject of p.
47 ((Metalevel)p)._setMetaobject(new Metaobject(p, null));
48 System.out.println("<< the metaobject was changed.>>");
|
VerboseMetaobj.java | 5 public class VerboseMetaobj extends Metaobject {
|
Main.java | 6 The "verbose metaobject" example (JDK 1.2 or later only).
|
/external/chromium_org/third_party/libsrtp/srtp/crypto/hash/ |
null_auth.c | 128 * metaobject
|
hmac.c | 251 * auth_type_t hmac is the hmac metaobject
|
/external/srtp/crypto/hash/ |
null_auth.c | 128 * metaobject
|
hmac.c | 251 * auth_type_t hmac is the hmac metaobject
|
/external/chromium_org/third_party/libjingle/source/talk/session/media/ |
externalhmac.cc | 71 // auth_type_t external_hmac is the hmac metaobject
|
/external/javassist/ |
Readme.html | 131 <p> This is the "verbose metaobject" example well known in reflective 132 programming. This program dynamically attaches a metaobject to 133 a Person object. The metaobject prints a message if a method 619 <li>javassist.reflect.Metaobject and ClassMetaobject was changed.
|