Searched defs:scope (Results 1 - 25 of 108) sorted by relevance

12345

/openjdk7/jdk/src/share/classes/sun/reflect/generics/scope/
H A DScope.java26 package sun.reflect.generics.scope;
H A DClassScope.java26 package sun.reflect.generics.scope;
33 * This class represents the scope containing the type variables of
45 * @return the enclosing scope
64 // and its enclosing scope is that of the declaring class
71 // enclosing scope.
77 * scope for it.
78 * @param c - a Class whose scope we want to obtain
79 * @return The type-variable scope for the class c
H A DConstructorScope.java26 package sun.reflect.generics.scope;
32 * This class represents the scope containing the type variables of
43 // derive enclosing scope.
50 * @return the enclosing scope
53 // the enclosing scope of a (generic) constructor is the scope of the
60 * scope for it.
61 * @param m - A Constructor whose scope we want to obtain
62 * @return The type-variable scope for the constructor m
H A DDummyScope.java26 package sun.reflect.generics.scope;
32 * We cannot use <tt>null</tt> to represent such a scope, since the
33 * enclosing scope is computed lazily, and so the field storing it is
35 * to represent an as-yet-uncomputed scope, and cannot be used for any
36 * other kind of scope.
55 * Lookup a type variable in the scope, using its name. Always returns
H A DMethodScope.java26 package sun.reflect.generics.scope;
32 * This class represents the scope containing the type variables of
43 // derive enclosing scope.
50 * @return the enclosing scope
53 // the enclosing scope of a (generic) method is the scope of the
60 * scope for it.
61 * @param m - A Method whose scope we want to obtain
62 * @return The type-variable scope for the method m
H A DAbstractScope.java26 package sun.reflect.generics.scope;
34 * Abstract superclass for lazy scope objects, used when building
37 * object whose scope this class is representing.
44 private D recvr; // the declaration whose scope this instance represents
45 private Scope enclosingScope; // the enclosing scope of this scope
48 * Constructor. Takes a reflective object whose scope the newly
50 * @param D - A generic declaration whose scope the newly
56 * Accessor for the receiver - the object whose scope this <tt>Scope</tt>
58 * @return The object whose scope thi
[all...]
/openjdk7/langtools/test/tools/javac/annotations/neg/
H A DScope.java27 * @summary name lookup scope for annotations
33 package annotation.scope;
35 @A(red) // error: red not in scope.
/openjdk7/langtools/test/tools/javac/generics/
H A DTyparamStaticScope.java33 package typaram.static_.scope;
/openjdk7/jdk/src/share/classes/java/security/
H A DSigner.java78 * Creates a signer with the specified identity name and scope.
82 * @param scope the scope of the identity.
85 * with the same name in the scope.
87 public Signer(String name, IdentityScope scope) argument
89 super(name, scope);
H A DIdentityScope.java33 * <p>This class represents a scope for identities. It is an Identity
34 * itself, and therefore has a name and can have a scope. It can also
45 * there can only be one copy of one key per scope. For example, suppose
48 * associated certificates. It is named in the scope using the name
49 * "Acme Software". No other named Identity in the scope has the same
70 /* The system's scope */
71 private static IdentityScope scope; field in class:IdentityScope
73 // initialize the system scope
79 return Security.getProperty("system.scope");
91 //Security.error("unable to establish a system scope fro
124 IdentityScope(String name, IdentityScope scope) argument
162 setSystemScope(IdentityScope scope) argument
[all...]
/openjdk7/jdk/src/share/classes/javax/naming/event/
H A DEventContext.java39 * to as the <em>target</em>. The target, along with the scope, identify
70 * along with the scope parameter, are used to identify
166 * when the object(s) identified by a target and scope changes.
172 * <tt>scope</tt> affects the registration.
174 * <tt>target</tt> needs to name a context only when <tt>scope</tt> is
176 * <tt>target</tt> may name a non-context if <tt>scope</tt> is either
193 * @param scope One of <tt>OBJECT_SCOPE</tt>, <tt>ONELEVEL_SCOPE</tt>, or
200 void addNamingListener(Name target, int scope, NamingListener l) argument
205 * when the object named by the string target name and scope changes.
211 * @param scope On
218 addNamingListener(String target, int scope, NamingListener l) argument
[all...]
/openjdk7/jdk/src/share/classes/com/sun/script/javascript/
H A DJavaAdapter.java55 static void init(Context cx, Scriptable scope, boolean sealed) argument
57 RhinoTopLevel topLevel = (RhinoTopLevel) scope;
60 obj.setParentScope(scope);
61 obj.setPrototype(getFunctionPrototype(scope));
74 public Object call(Context cx, Scriptable scope, Scriptable thisObj, argument
76 return construct(cx, scope, args);
79 public Scriptable construct(Context cx, Scriptable scope, Object[] args) argument
98 Scriptable topLevel = ScriptableObject.getTopLevelScope(scope);
H A DRhinoTopLevel.java33 * This class serves as top level scope for Rhino. This class adds
34 * 3 top level functions (bindings, scope, sync) and two constructors
61 String names[] = { "bindings", "scope", "sync" };
67 * The bindings function takes a JavaScript scope object
71 * var page = scope(pageBindings);
73 * // code that uses page scope
96 * The scope function creates a new JavaScript scope object
98 * to create a script scope based on arbitrary Bindings instance.
100 * may be wrapped as a scope an
108 public static Object scope(Context cx, Scriptable thisObj, Object[] args, method in class:RhinoTopLevel
[all...]
H A DRhinoWrapFactory.java59 RhinoJavaObject(Scriptable scope, Object obj, Class type) { argument
63 super(scope, null, type);
71 public Scriptable wrapAsJavaObject(Context cx, Scriptable scope, argument
82 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
104 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
143 return new RhinoJavaObject(scope, javaObject, type);
145 return super.wrapAsJavaObject(cx, scope, javaObject, staticType);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/tools/internal/xjc/generator/annotation/spec/
H A DXmlElementDeclWriter.java39 XmlElementDeclWriter scope(Class value); method in interface:XmlElementDeclWriter
41 XmlElementDeclWriter scope(JType value); method in interface:XmlElementDeclWriter
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DFilteredMemberList.java48 private final Scope scope; field in class:FilteredMemberList
50 public FilteredMemberList(Scope scope) { argument
51 this.scope = scope;
56 for (Scope.Entry e = scope.elems; e != null; e = e.sibling) {
64 for (Scope.Entry e = scope.elems; e != null; e = e.sibling) {
76 private Scope.Entry nextEntry = scope.elems;
/openjdk7/jaxp/src/com/sun/xml/internal/stream/dtd/nonvalidating/
H A DXMLElementDecl.java47 /** scope */
48 public int scope = -1; field in class:XMLElementDecl
61 * @param scope
66 public void setValues(QName name, int scope, short type, XMLSimpleType simpleType) { argument
68 this.scope = scope;
79 this.scope = -1;
/openjdk7/jdk/src/share/classes/java/net/
H A DInet6AddressImpl.java44 private native boolean isReachable0(byte[] addr, int scope, int timeout, byte[] inf, int ttl, int if_scope) throws IOException; argument
48 int scope = -1;
76 scope = ((Inet6Address) addr).getScopeId();
77 return isReachable0(addr.getAddress(), scope, timeout, ifaddr, ttl, netif_scope);
/openjdk7/jaxws/src/share/jaxws_classes/com/sun/xml/internal/bind/v2/model/annotation/
H A DXmlElementDeclQuick.java59 public Class scope() { method in class:XmlElementDeclQuick
60 return core.scope();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DAttrContext.java41 /** The scope of local symbols.
43 Scope scope = null; field in class:AttrContext
74 /** Duplicate this context, replacing scope field and copying all others.
76 AttrContext dup(Scope scope) { argument
78 info.scope = scope;
92 return dup(scope);
96 if (scope == null)
98 return scope.getElements();
102 return "AttrContext[" + scope
[all...]
/openjdk7/jaxp/src/com/sun/org/apache/xerces/internal/impl/dtd/
H A DXMLElementDecl.java97 /** scope */
98 public int scope = -1; field in class:XMLElementDecl
117 * @param scope
122 public void setValues(QName name, int scope, short type, ContentModelValidator contentModelValidator, XMLSimpleType simpleType) { argument
124 this.scope = scope;
136 this.scope = -1;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/runtime/
H A DCompiledVFrame.java39 private ScopeDesc scope; field in class:CompiledVFrame
42 public CompiledVFrame(Frame fr, RegisterMap regMap, JavaThread thread, ScopeDesc scope, boolean mayBeImprecise) { argument
44 this.scope = scope;
47 Assert.that(scope != null, "scope must be present");
85 return scope;
178 Assert.that(scope != null, "When new stub generator is in place, then scope can never be NULL");
251 // ScopeDesc* scope
[all...]
/openjdk7/jdk/src/share/classes/javax/script/
H A DAbstractScriptEngine.java108 * Returns the <code>Bindings</code> with the specified scope value in
111 * @param scope The specified scope
115 * @throws IllegalArgumentException if the value of scope is
118 public Bindings getBindings(int scope) { argument
120 if (scope == ScriptContext.GLOBAL_SCOPE) {
122 } else if (scope == ScriptContext.ENGINE_SCOPE) {
125 throw new IllegalArgumentException("Invalid scope value.");
130 * Sets the <code>Bindings</code> with the corresponding scope value in the
134 * @param scope Th
141 setBindings(Bindings bindings, int scope) argument
[all...]
H A DScriptContext.java33 * with objects, such as scoped Bindings, in hosting applications. Each scope is a set
58 * Associates a <code>Bindings</code> instance with a particular scope in this
61 * <code>put</code> methods of the <code>Bindings</code> for the specified scope.
63 * @param bindings The <code>Bindings</code> to associate with the given scope
64 * @param scope The scope
67 * specified scope value in ScriptContexts of this type.
68 * @throws NullPointerException if value of scope is <code>ENGINE_SCOPE</code> and
72 public void setBindings(Bindings bindings, int scope); argument
75 * Gets the <code>Bindings</code> associated with the given scope i
84 getBindings(int scope) argument
97 setAttribute(String name, Object value, int scope) argument
111 getAttribute(String name, int scope) argument
124 removeAttribute(String name, int scope) argument
[all...]
H A DScriptEngine.java232 * Returns a scope of named values. The possible scopes are:
236 * scope. If this <code>ScriptEngine</code> is created by a <code>ScriptEngineManager</code>,
237 * then the manager sets global scope bindings. This may be <code>null</code> if no global
238 * scope is associated with this <code>ScriptEngine</code></li>
242 * <li>Any other value of scope defined in the default <code>ScriptContext</code> of the <code>ScriptEngine</code>.
250 * @param scope Either <code>ScriptContext.ENGINE_SCOPE</code> or <code>ScriptContext.GLOBAL_SCOPE</code>
255 * @return The <code>Bindings</code> with the specified scope.
257 * @throws IllegalArgumentException if specified scope is invalid
260 public Bindings getBindings(int scope); argument
263 * Sets a scope o
288 setBindings(Bindings bindings, int scope) argument
[all...]

Completed in 89 milliseconds

12345