Searched refs:sym (Results 26 - 50 of 171) sorted by relevance

1234567

/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/declaration/
H A DMethodDeclarationImpl.java43 MethodDeclarationImpl(AptEnv env, MethodSymbol sym) { argument
44 super(env, sym);
52 return env.typeMaker.getType(sym.type.getReturnType());
H A DAnnotationTypeDeclarationImpl.java44 AnnotationTypeDeclarationImpl(AptEnv env, ClassSymbol sym) { argument
45 super(env, sym);
H A DEnumConstantDeclarationImpl.java42 EnumConstantDeclarationImpl(AptEnv env, VarSymbol sym) { argument
43 super(env, sym);
H A DEnumDeclarationImpl.java44 EnumDeclarationImpl(AptEnv env, ClassSymbol sym) { argument
45 super(env, sym);
H A DInterfaceDeclarationImpl.java42 InterfaceDeclarationImpl(AptEnv env, ClassSymbol sym) { argument
43 super(env, sym);
H A DTypeParameterDeclarationImpl.java47 protected TypeSymbol sym; field in class:TypeParameterDeclarationImpl
50 TypeParameterDeclarationImpl(AptEnv env, TypeSymbol sym) { argument
51 super(env, sym);
52 this.sym = sym;
61 return toString(env, (Type.TypeVar) sym.type);
69 for (Type t : env.jctypes.getBounds((Type.TypeVar) sym.type)) {
79 Symbol owner = sym.owner;
H A DClassDeclarationImpl.java49 ClassDeclarationImpl(AptEnv env, ClassSymbol sym) { argument
50 super(env, sym);
61 for (Type t = sym.type;
78 if (sym == env.symtab.objectType.tsym) {
81 Type t = env.jctypes.supertype(sym.type);
/openjdk7/langtools/src/share/classes/com/sun/tools/javadoc/
H A DFieldDocImpl.java55 protected final VarSymbol sym; field in class:FieldDocImpl
60 public FieldDocImpl(DocEnv env, VarSymbol sym, argument
62 super(env, sym, rawDocs, tree, lineMap);
63 this.sym = sym;
69 public FieldDocImpl(DocEnv env, VarSymbol sym) { argument
70 this(env, sym, null, null, null);
77 return sym.flags();
84 return sym.enclClass();
91 return TypeMaker.getType(env, sym
[all...]
H A DMemberDocImpl.java55 public MemberDocImpl(DocEnv env, Symbol sym, String doc, JCTree tree, Position.LineMap lineMap) { argument
56 super(env, sym, doc, tree, lineMap);
H A DProgramElementDocImpl.java58 private final Symbol sym; field in class:ProgramElementDocImpl
68 protected ProgramElementDocImpl(DocEnv env, Symbol sym, argument
71 this.sym = sym;
160 AnnotationDesc res[] = new AnnotationDesc[sym.getAnnotationMirrors().length()];
162 for (Attribute.Compound a : sym.getAnnotationMirrors()) {
H A DPackageDocImpl.java59 protected PackageSymbol sym; field in class:PackageDocImpl
72 public PackageDocImpl(DocEnv env, PackageSymbol sym) { argument
73 this(env, sym, null, null);
79 public PackageDocImpl(DocEnv env, PackageSymbol sym, argument
82 this.sym = sym;
144 for (Scope.Entry e = sym.members().elems; e != null; e = e.sibling) {
145 if (e.sym != null) {
146 ClassSymbol s = (ClassSymbol)e.sym;
286 AnnotationDesc res[] = new AnnotationDesc[sym
[all...]
H A DJavadocMemberEnter.java66 MethodSymbol meth = tree.sym;
80 if (tree.sym != null &&
81 tree.sym.kind == Kinds.VAR &&
82 !isParameter(tree.sym)) {
85 docenv.makeFieldDoc(tree.sym, docComment, tree, lineMap);
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/model/
H A DJavacElements.java156 Symbol sym = (clazz == ClassSymbol.class)
161 if (sym == null)
162 sym = javaCompiler.resolveIdent(nameStr);
164 sym.complete();
166 return (sym.kind != Kinds.ERR &&
167 sym.exists() &&
168 clazz.isInstance(sym) &&
169 name.equals(sym.getQualifiedName()))
170 ? clazz.cast(sym)
218 Symbol sym
317 scanForAssign(final MethodSymbol sym, final JCTree tree) argument
614 getEnterEnv(Symbol sym) argument
[all...]
H A DJavacTypes.java214 ClassSymbol sym = (ClassSymbol) typeElem;
217 return (DeclaredType) sym.erasure(types);
218 if (sym.type.getEnclosingType().isParameterized())
219 throw new IllegalArgumentException(sym.toString());
221 return getDeclaredType0(sym.type.getEnclosingType(), sym, typeArgs);
230 ClassSymbol sym = (ClassSymbol) typeElem;
233 if (outer.tsym != sym.owner.enclClass())
238 return getDeclaredType0(outer, sym, typeArgs);
242 ClassSymbol sym,
241 getDeclaredType0(Type outer, ClassSymbol sym, TypeMirror... typeArgs) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/posix/
H A DDSO.java108 ELFSymbol sym = getFile().getHeader().getELFSymbol(offset);
109 return (sym != null)? createClosestSymbol(sym.getName(), offset - sym.getValue()) : null;
125 ELFSymbol sym = getFile().getHeader().getELFSymbol(symbol);
126 if (sym == null) {
130 long value = sym.getValue();
/openjdk7/langtools/src/share/classes/com/sun/tools/apt/mirror/util/
H A DTypesImpl.java137 ((DeclarationImpl) tparam).sym.type);
180 ClassSymbol sym = ((TypeDeclarationImpl) decl).sym;
184 env.jctypes.erasure(sym.type));
185 if (sym.type.getEnclosingType().isParameterized())
188 return getDeclaredType(sym.type.getEnclosingType(), sym, typeArgs);
200 ClassSymbol sym = ((TypeDeclarationImpl) decl).sym;
203 if (outer.tsym != sym
211 getDeclaredType(Type outer, ClassSymbol sym, TypeMirror... typeArgs) argument
[all...]
/openjdk7/langtools/test/tools/javac/scope/
H A DHashCollisionTest.java130 if (e.sym.kind == TYP && !toScope.includes(e.sym))
131 toScope.enter(e.sym, fromScope);
155 if (e.sym == null)
172 ClassSymbol sym = new ClassSymbol(0, name, owner);
173 sym.members_field = new Scope(sym);
175 owner.members().enter(sym);
176 return sym;
213 if (e.sym
[all...]
/openjdk7/hotspot/src/share/vm/utilities/
H A DelfSymbolTable.cpp104 Elf_Sym sym; local
106 if (fread(&sym, sym_size, 1, m_file) == 1) {
107 if (STT_FUNC == ELF_ST_TYPE(sym.st_info)) {
108 address sym_addr = (address)sym.st_value;
110 pc = (address)sym.st_value;
112 *posIndex = sym.st_name;
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/ci/
H A DciKlass.java51 ciSymbol sym = new ciSymbol(nameField.getValue(getAddress()));
52 return sym.asUtf88();
H A DciSymbol.java53 Symbol sym = Symbol.create(symbolField.getValue(getAddress()));
54 return sym.asString();
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/comp/
H A DFlow.java325 ((JCVariableDecl)exit.tree).sym.isResourceVariable()) {
329 ((JCVariableDecl)exit.tree).sym.name);
355 boolean trackable(VarSymbol sym) { argument
357 (sym.owner.kind == MTH ||
358 ((sym.flags() & (FINAL | HASINIT | PARAMETER)) == FINAL &&
359 classDef.sym.isEnclosedBy((ClassSymbol)sym.owner)));
366 void newVar(VarSymbol sym) { argument
372 sym.adr = nextadr;
373 vars[nextadr] = sym;
381 letInit(DiagnosticPosition pos, VarSymbol sym) argument
430 checkInit(DiagnosticPosition pos, VarSymbol sym) argument
1405 referenced(Symbol sym) argument
[all...]
H A DAttr.java277 static boolean isType(Symbol sym) { argument
278 return sym != null && sym.kind == TYP;
285 return rs.resolveSelf(pos, env, env.enclClass.sym, names._this);
297 localEnv.enclClass.sym = syms.errSymbol;
313 env.enclClass.sym = (ClassSymbol)site;
328 public Type attribType(JCTree node, TypeSymbol sym) { argument
329 Env<AttrContext> env = enter.typeEnvs.get(sym);
678 Assert.check((env.enclClass.sym.flags() & ENUM) != 0);
680 id.sym
2486 checkId(JCTree tree, Type site, Symbol sym, Env<AttrContext> env, int pkind, Type pt, boolean useVarargs) argument
2707 canOwnInitializer(Symbol sym) argument
2718 checkMethod(Type site, Symbol sym, Env<AttrContext> env, final List<JCExpression> argtrees, List<Type> argtypes, List<Type> typeargtypes, boolean useVarargs) argument
[all...]
H A DCheck.java202 * @param sym The deprecated symbol.
204 void warnDeprecated(DiagnosticPosition pos, Symbol sym) { argument
206 deprecationHandler.report(pos, "has.been.deprecated", sym, sym.location());
220 * @param sym The deprecated symbol.
256 log.error(pos, "cant.access", ex.sym, ex.getDetailValue());
299 * @param sym The referenced symbol.
301 void earlyRefError(DiagnosticPosition pos, Symbol sym) { argument
302 log.error(pos, "cant.ref.before.ctor.called", sym);
307 void duplicateError(DiagnosticPosition pos, Symbol sym) { argument
864 checkFlags(DiagnosticPosition pos, long flags, Symbol sym, JCTree tree) argument
1844 checkSymbol(DiagnosticPosition pos, Symbol sym) argument
2081 checkConflicts(DiagnosticPosition pos, Symbol sym, TypeSymbol c) argument
2105 checkOverrideClashes(DiagnosticPosition pos, Type site, MethodSymbol sym) argument
2142 checkHideClashes(DiagnosticPosition pos, Type site, MethodSymbol sym) argument
2184 syntheticError(DiagnosticPosition pos, Symbol sym) argument
2656 checkUnique(DiagnosticPosition pos, Symbol sym, Scope s) argument
2696 checkUniqueImport(DiagnosticPosition pos, Symbol sym, Scope s) argument
2707 checkUniqueStaticImport(DiagnosticPosition pos, Symbol sym, Scope s) argument
2718 checkUniqueImport(DiagnosticPosition pos, Symbol sym, Scope s, boolean staticImport) argument
[all...]
/openjdk7/langtools/src/share/classes/com/sun/tools/javac/jvm/
H A DClassReader.java300 private void enterMember(ClassSymbol c, Symbol sym) { argument
301 if ((sym.flags_field & (SYNTHETIC|BRIDGE)) != SYNTHETIC)
302 c.members_field.enter(sym);
313 public BadClassFile(TypeSymbol sym, JavaFileObject file, JCDiagnostic diag) { argument
314 super(sym, createBadClassFileDiagnostic(file, diag));
865 return e.sym.type;
918 abstract void read(Symbol sym, int attrLen); argument
939 void read(Symbol sym, int attrLen) {
941 ((MethodSymbol)sym).code = readCode(sym);
1156 readEnclosingMethodAttr(Symbol sym) argument
1264 readMemberAttrs(Symbol sym) argument
1268 readAttrs(Symbol sym, AttributeKind kind) argument
1312 attachAnnotations(final Symbol sym) argument
1351 attachAnnotationDefault(final Symbol sym) argument
1659 final MethodSymbol sym; field in class:ClassReader.AnnotationDefaultCompleter
1666 AnnotationDefaultCompleter(MethodSymbol sym, Attribute value) argument
1683 final Symbol sym; field in class:ClassReader.AnnotationCompleter
1690 AnnotationCompleter(Symbol sym, List<CompoundAnnotationProxy> l) argument
1782 initParameterNames(MethodSymbol sym) argument
1808 setParameterNames(MethodSymbol sym, Type jvmType) argument
1880 enterTypevars(Symbol sym) argument
2127 complete(Symbol sym) argument
2547 complete(ClassSymbol sym) argument
[all...]
/openjdk7/hotspot/agent/src/share/classes/sun/jvm/hotspot/debugger/cdbg/basic/
H A DBasicField.java86 GlobalSym sym = db.lookupSym(fieldSymName);
87 if (sym == null) {
90 address = sym.getAddress();

Completed in 62 milliseconds

1234567