id
int32 0
12.9k
| code
sequencelengths 2
264k
|
---|---|
3,000 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"util",
".",
"EventObject",
";",
"public",
"class",
"BufferChangedEvent",
"extends",
"EventObject",
"{",
"private",
"int",
"length",
";",
"private",
"int",
"offset",
";",
"private",
"String",
"text",
";",
"private",
"static",
"final",
"long",
"serialVersionUID",
"=",
"655379473891745999L",
";",
"public",
"BufferChangedEvent",
"(",
"IBuffer",
"buffer",
",",
"int",
"offset",
",",
"int",
"length",
",",
"String",
"text",
")",
"{",
"super",
"(",
"buffer",
")",
";",
"this",
".",
"offset",
"=",
"offset",
";",
"this",
".",
"length",
"=",
"length",
";",
"this",
".",
"text",
"=",
"text",
";",
"}",
"public",
"IBuffer",
"getBuffer",
"(",
")",
"{",
"return",
"(",
"IBuffer",
")",
"this",
".",
"source",
";",
"}",
"public",
"int",
"getLength",
"(",
")",
"{",
"return",
"this",
".",
"length",
";",
"}",
"public",
"int",
"getOffset",
"(",
")",
"{",
"return",
"this",
".",
"offset",
";",
"}",
"public",
"String",
"getText",
"(",
")",
"{",
"return",
"this",
".",
"text",
";",
"}",
"}",
"</s>"
] |
3,001 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"final",
"class",
"SourceRange",
"implements",
"ISourceRange",
"{",
"public",
"static",
"boolean",
"isAvailable",
"(",
"ISourceRange",
"range",
")",
"{",
"return",
"range",
"!=",
"null",
"&&",
"range",
".",
"getOffset",
"(",
")",
"!=",
"-",
"1",
";",
"}",
"private",
"int",
"offset",
";",
"private",
"int",
"length",
";",
"public",
"SourceRange",
"(",
"int",
"offset",
",",
"int",
"length",
")",
"{",
"this",
".",
"offset",
"=",
"offset",
";",
"this",
".",
"length",
"=",
"length",
";",
"}",
"public",
"boolean",
"equals",
"(",
"Object",
"obj",
")",
"{",
"if",
"(",
"!",
"(",
"obj",
"instanceof",
"ISourceRange",
")",
")",
"return",
"false",
";",
"ISourceRange",
"sourceRange",
"=",
"(",
"ISourceRange",
")",
"obj",
";",
"return",
"sourceRange",
".",
"getOffset",
"(",
")",
"==",
"this",
".",
"offset",
"&&",
"sourceRange",
".",
"getLength",
"(",
")",
"==",
"this",
".",
"length",
";",
"}",
"public",
"int",
"getLength",
"(",
")",
"{",
"return",
"this",
".",
"length",
";",
"}",
"public",
"int",
"getOffset",
"(",
")",
"{",
"return",
"this",
".",
"offset",
";",
"}",
"public",
"int",
"hashCode",
"(",
")",
"{",
"return",
"this",
".",
"length",
"^",
"this",
".",
"offset",
";",
"}",
"public",
"String",
"toString",
"(",
")",
"{",
"StringBuffer",
"buffer",
"=",
"new",
"StringBuffer",
"(",
")",
";",
"buffer",
".",
"append",
"(",
"\"[offset=\"",
")",
";",
"buffer",
".",
"append",
"(",
"this",
".",
"offset",
")",
";",
"buffer",
".",
"append",
"(",
"\",",
"length=\"",
")",
";",
"buffer",
".",
"append",
"(",
"this",
".",
"length",
")",
";",
"buffer",
".",
"append",
"(",
"\"]\"",
")",
";",
"return",
"buffer",
".",
"toString",
"(",
")",
";",
"}",
"}",
"</s>"
] |
3,002 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IStorage",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"public",
"interface",
"IJarEntryResource",
"extends",
"IStorage",
"{",
"IJarEntryResource",
"[",
"]",
"getChildren",
"(",
")",
";",
"IPath",
"getFullPath",
"(",
")",
";",
"Object",
"getParent",
"(",
")",
";",
"IPackageFragmentRoot",
"getPackageFragmentRoot",
"(",
")",
";",
"boolean",
"isFile",
"(",
")",
";",
"}",
"</s>"
] |
3,003 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IResourceDelta",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"CompilationUnit",
";",
"public",
"interface",
"IJavaElementDelta",
"{",
"public",
"int",
"ADDED",
"=",
"1",
";",
"public",
"int",
"REMOVED",
"=",
"2",
";",
"public",
"int",
"CHANGED",
"=",
"4",
";",
"public",
"int",
"F_CONTENT",
"=",
"0x000001",
";",
"public",
"int",
"F_MODIFIERS",
"=",
"0x000002",
";",
"public",
"int",
"F_CHILDREN",
"=",
"0x000008",
";",
"public",
"int",
"F_MOVED_FROM",
"=",
"0x000010",
";",
"public",
"int",
"F_MOVED_TO",
"=",
"0x000020",
";",
"public",
"int",
"F_ADDED_TO_CLASSPATH",
"=",
"0x000040",
";",
"public",
"int",
"F_REMOVED_FROM_CLASSPATH",
"=",
"0x000080",
";",
"public",
"int",
"F_CLASSPATH_REORDER",
"=",
"0x000100",
";",
"public",
"int",
"F_REORDER",
"=",
"0x000100",
";",
"public",
"int",
"F_OPENED",
"=",
"0x000200",
";",
"public",
"int",
"F_CLOSED",
"=",
"0x000400",
";",
"public",
"int",
"F_SUPER_TYPES",
"=",
"0x000800",
";",
"public",
"int",
"F_SOURCEATTACHED",
"=",
"0x001000",
";",
"public",
"int",
"F_SOURCEDETACHED",
"=",
"0x002000",
";",
"public",
"int",
"F_FINE_GRAINED",
"=",
"0x004000",
";",
"public",
"int",
"F_ARCHIVE_CONTENT_CHANGED",
"=",
"0x008000",
";",
"public",
"int",
"F_PRIMARY_WORKING_COPY",
"=",
"0x010000",
";",
"public",
"int",
"F_CLASSPATH_CHANGED",
"=",
"0x020000",
";",
"public",
"int",
"F_PRIMARY_RESOURCE",
"=",
"0x040000",
";",
"public",
"int",
"F_AST_AFFECTED",
"=",
"0x080000",
";",
"public",
"int",
"F_CATEGORIES",
"=",
"0x100000",
";",
"public",
"int",
"F_RESOLVED_CLASSPATH_CHANGED",
"=",
"0x200000",
";",
"public",
"int",
"F_ANNOTATIONS",
"=",
"0x400000",
";",
"public",
"IJavaElementDelta",
"[",
"]",
"getAddedChildren",
"(",
")",
";",
"public",
"IJavaElementDelta",
"[",
"]",
"getAffectedChildren",
"(",
")",
";",
"public",
"IJavaElementDelta",
"[",
"]",
"getAnnotationDeltas",
"(",
")",
";",
"public",
"CompilationUnit",
"getCompilationUnitAST",
"(",
")",
";",
"public",
"IJavaElementDelta",
"[",
"]",
"getChangedChildren",
"(",
")",
";",
"public",
"IJavaElement",
"getElement",
"(",
")",
";",
"public",
"int",
"getFlags",
"(",
")",
";",
"public",
"int",
"getKind",
"(",
")",
";",
"public",
"IJavaElement",
"getMovedFromElement",
"(",
")",
";",
"public",
"IJavaElement",
"getMovedToElement",
"(",
")",
";",
"public",
"IJavaElementDelta",
"[",
"]",
"getRemovedChildren",
"(",
")",
";",
"public",
"IResourceDelta",
"[",
"]",
"getResourceDeltas",
"(",
")",
";",
"}",
"</s>"
] |
3,004 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"IOpenable",
"{",
"public",
"void",
"close",
"(",
")",
"throws",
"JavaModelException",
";",
"public",
"String",
"findRecommendedLineSeparator",
"(",
")",
"throws",
"JavaModelException",
";",
"public",
"IBuffer",
"getBuffer",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"hasUnsavedChanges",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isConsistent",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isOpen",
"(",
")",
";",
"void",
"makeConsistent",
"(",
"IProgressMonitor",
"progress",
")",
"throws",
"JavaModelException",
";",
"public",
"void",
"open",
"(",
"IProgressMonitor",
"progress",
")",
"throws",
"JavaModelException",
";",
"public",
"void",
"save",
"(",
"IProgressMonitor",
"progress",
",",
"boolean",
"force",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,005 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IAnnotation",
"extends",
"IJavaElement",
",",
"ISourceReference",
"{",
"String",
"getElementName",
"(",
")",
";",
"IMemberValuePair",
"[",
"]",
"getMemberValuePairs",
"(",
")",
"throws",
"JavaModelException",
";",
"int",
"getOccurrenceCount",
"(",
")",
";",
"}",
"</s>"
] |
3,006 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IImportDeclaration",
"extends",
"IJavaElement",
",",
"ISourceReference",
",",
"ISourceManipulation",
"{",
"String",
"getElementName",
"(",
")",
";",
"int",
"getFlags",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isOnDemand",
"(",
")",
";",
"}",
"</s>"
] |
3,007 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IResource",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IWorkspace",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"IJavaModel",
"extends",
"IJavaElement",
",",
"IOpenable",
",",
"IParent",
"{",
"boolean",
"contains",
"(",
"IResource",
"resource",
")",
";",
"void",
"copy",
"(",
"IJavaElement",
"[",
"]",
"elements",
",",
"IJavaElement",
"[",
"]",
"containers",
",",
"IJavaElement",
"[",
"]",
"siblings",
",",
"String",
"[",
"]",
"renamings",
",",
"boolean",
"replace",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"delete",
"(",
"IJavaElement",
"[",
"]",
"elements",
",",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IJavaProject",
"getJavaProject",
"(",
"String",
"name",
")",
";",
"IJavaProject",
"[",
"]",
"getJavaProjects",
"(",
")",
"throws",
"JavaModelException",
";",
"Object",
"[",
"]",
"getNonJavaResources",
"(",
")",
"throws",
"JavaModelException",
";",
"IWorkspace",
"getWorkspace",
"(",
")",
";",
"void",
"move",
"(",
"IJavaElement",
"[",
"]",
"elements",
",",
"IJavaElement",
"[",
"]",
"containers",
",",
"IJavaElement",
"[",
"]",
"siblings",
",",
"String",
"[",
"]",
"renamings",
",",
"boolean",
"replace",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"refreshExternalArchives",
"(",
"IJavaElement",
"[",
"]",
"elementsScope",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"rename",
"(",
"IJavaElement",
"[",
"]",
"elements",
",",
"IJavaElement",
"[",
"]",
"destinations",
",",
"String",
"[",
"]",
"names",
",",
"boolean",
"replace",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,008 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IClasspathAttribute",
"{",
"String",
"JAVADOC_LOCATION_ATTRIBUTE_NAME",
"=",
"\"\"",
";",
"String",
"INDEX_LOCATION_ATTRIBUTE_NAME",
"=",
"\"\"",
";",
"String",
"SOURCE_ATTACHMENT_ENCODING",
"=",
"\"\"",
";",
"String",
"IGNORE_OPTIONAL_PROBLEMS",
"=",
"\"\"",
";",
"String",
"OPTIONAL",
"=",
"\"optional\"",
";",
"String",
"getName",
"(",
")",
";",
"String",
"getValue",
"(",
")",
";",
"}",
"</s>"
] |
3,009 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"IProblem",
";",
"public",
"abstract",
"class",
"CompletionRequestor",
"{",
"private",
"int",
"ignoreSet",
"=",
"0",
";",
"private",
"String",
"[",
"]",
"favoriteReferences",
";",
"private",
"int",
"requiredProposalAllowSet",
"[",
"]",
"=",
"null",
";",
"private",
"boolean",
"requireExtendedContext",
"=",
"false",
";",
"public",
"CompletionRequestor",
"(",
")",
"{",
"this",
"(",
"false",
")",
";",
"}",
"public",
"CompletionRequestor",
"(",
"boolean",
"ignoreAll",
")",
"{",
"this",
".",
"ignoreSet",
"=",
"ignoreAll",
"?",
"0xffffffff",
":",
"0x00000000",
";",
"}",
"public",
"boolean",
"isIgnored",
"(",
"int",
"completionProposalKind",
")",
"{",
"if",
"(",
"completionProposalKind",
"<",
"CompletionProposal",
".",
"FIRST_KIND",
"||",
"completionProposalKind",
">",
"CompletionProposal",
".",
"LAST_KIND",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"\"",
"+",
"completionProposalKind",
")",
";",
"}",
"return",
"0",
"!=",
"(",
"this",
".",
"ignoreSet",
"&",
"(",
"1",
"<<",
"completionProposalKind",
")",
")",
";",
"}",
"public",
"void",
"setIgnored",
"(",
"int",
"completionProposalKind",
",",
"boolean",
"ignore",
")",
"{",
"if",
"(",
"completionProposalKind",
"<",
"CompletionProposal",
".",
"FIRST_KIND",
"||",
"completionProposalKind",
">",
"CompletionProposal",
".",
"LAST_KIND",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"\"",
"+",
"completionProposalKind",
")",
";",
"}",
"if",
"(",
"ignore",
")",
"{",
"this",
".",
"ignoreSet",
"|=",
"(",
"1",
"<<",
"completionProposalKind",
")",
";",
"}",
"else",
"{",
"this",
".",
"ignoreSet",
"&=",
"~",
"(",
"1",
"<<",
"completionProposalKind",
")",
";",
"}",
"}",
"public",
"boolean",
"isAllowingRequiredProposals",
"(",
"int",
"proposalKind",
",",
"int",
"requiredProposalKind",
")",
"{",
"if",
"(",
"proposalKind",
"<",
"CompletionProposal",
".",
"FIRST_KIND",
"||",
"proposalKind",
">",
"CompletionProposal",
".",
"LAST_KIND",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"\"",
"+",
"requiredProposalKind",
")",
";",
"}",
"if",
"(",
"requiredProposalKind",
"<",
"CompletionProposal",
".",
"FIRST_KIND",
"||",
"requiredProposalKind",
">",
"CompletionProposal",
".",
"LAST_KIND",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"\"",
"+",
"requiredProposalKind",
")",
";",
"}",
"if",
"(",
"this",
".",
"requiredProposalAllowSet",
"==",
"null",
")",
"return",
"false",
";",
"return",
"0",
"!=",
"(",
"this",
".",
"requiredProposalAllowSet",
"[",
"proposalKind",
"]",
"&",
"(",
"1",
"<<",
"requiredProposalKind",
")",
")",
";",
"}",
"public",
"void",
"setAllowsRequiredProposals",
"(",
"int",
"proposalKind",
",",
"int",
"requiredProposalKind",
",",
"boolean",
"allow",
")",
"{",
"if",
"(",
"proposalKind",
"<",
"CompletionProposal",
".",
"FIRST_KIND",
"||",
"proposalKind",
">",
"CompletionProposal",
".",
"LAST_KIND",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"\"",
"+",
"requiredProposalKind",
")",
";",
"}",
"if",
"(",
"requiredProposalKind",
"<",
"CompletionProposal",
".",
"FIRST_KIND",
"||",
"requiredProposalKind",
">",
"CompletionProposal",
".",
"LAST_KIND",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"\"\"",
"+",
"requiredProposalKind",
")",
";",
"}",
"if",
"(",
"this",
".",
"requiredProposalAllowSet",
"==",
"null",
")",
"{",
"this",
".",
"requiredProposalAllowSet",
"=",
"new",
"int",
"[",
"CompletionProposal",
".",
"LAST_KIND",
"+",
"1",
"]",
";",
"}",
"if",
"(",
"allow",
")",
"{",
"this",
".",
"requiredProposalAllowSet",
"[",
"proposalKind",
"]",
"|=",
"(",
"1",
"<<",
"requiredProposalKind",
")",
";",
"}",
"else",
"{",
"this",
".",
"requiredProposalAllowSet",
"[",
"proposalKind",
"]",
"&=",
"~",
"(",
"1",
"<<",
"requiredProposalKind",
")",
";",
"}",
"}",
"public",
"String",
"[",
"]",
"getFavoriteReferences",
"(",
")",
"{",
"return",
"this",
".",
"favoriteReferences",
";",
"}",
"public",
"void",
"setFavoriteReferences",
"(",
"String",
"[",
"]",
"favoriteImports",
")",
"{",
"this",
".",
"favoriteReferences",
"=",
"favoriteImports",
";",
"}",
"public",
"void",
"beginReporting",
"(",
")",
"{",
"}",
"public",
"void",
"endReporting",
"(",
")",
"{",
"}",
"public",
"void",
"completionFailure",
"(",
"IProblem",
"problem",
")",
"{",
"}",
"public",
"abstract",
"void",
"accept",
"(",
"CompletionProposal",
"proposal",
")",
";",
"public",
"void",
"acceptContext",
"(",
"CompletionContext",
"context",
")",
"{",
"}",
"public",
"boolean",
"isExtendedContextRequired",
"(",
")",
"{",
"return",
"this",
".",
"requireExtendedContext",
";",
"}",
"public",
"void",
"setRequireExtendedContext",
"(",
"boolean",
"require",
")",
"{",
"this",
".",
"requireExtendedContext",
"=",
"require",
";",
"}",
"}",
"</s>"
] |
3,010 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"ICorrectionRequestor",
"{",
"void",
"acceptClass",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"className",
",",
"char",
"[",
"]",
"correctionName",
",",
"int",
"modifiers",
",",
"int",
"correctionStart",
",",
"int",
"correctionEnd",
")",
";",
"void",
"acceptField",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"correctionName",
",",
"int",
"modifiers",
",",
"int",
"correctionStart",
",",
"int",
"correctionEnd",
")",
";",
"void",
"acceptInterface",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"interfaceName",
",",
"char",
"[",
"]",
"correctionName",
",",
"int",
"modifiers",
",",
"int",
"correctionStart",
",",
"int",
"correctionEnd",
")",
";",
"void",
"acceptLocalVariable",
"(",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"int",
"modifiers",
",",
"int",
"correctionStart",
",",
"int",
"correctionEnd",
")",
";",
"void",
"acceptMethod",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"selector",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"returnTypePackageName",
",",
"char",
"[",
"]",
"returnTypeName",
",",
"char",
"[",
"]",
"correctionName",
",",
"int",
"modifiers",
",",
"int",
"correctionStart",
",",
"int",
"correctionEnd",
")",
";",
"void",
"acceptPackage",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"correctionName",
",",
"int",
"correctionStart",
",",
"int",
"correctionEnd",
")",
";",
"}",
"</s>"
] |
3,011 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IMarker",
";",
"public",
"interface",
"ICodeCompletionRequestor",
"{",
"void",
"acceptClass",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"className",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptError",
"(",
"IMarker",
"marker",
")",
";",
"void",
"acceptField",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptInterface",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"interfaceName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptKeyword",
"(",
"char",
"[",
"]",
"keywordName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptLabel",
"(",
"char",
"[",
"]",
"labelName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptLocalVariable",
"(",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptMethod",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"selector",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"returnTypePackageName",
",",
"char",
"[",
"]",
"returnTypeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptModifier",
"(",
"char",
"[",
"]",
"modifierName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptPackage",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"void",
"acceptType",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
")",
";",
"}",
"</s>"
] |
3,012 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"io",
".",
"InputStream",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"IType",
"extends",
"IMember",
",",
"IAnnotatable",
"{",
"void",
"codeComplete",
"(",
"char",
"[",
"]",
"snippet",
",",
"int",
"insertion",
",",
"int",
"position",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableNames",
",",
"int",
"[",
"]",
"localVariableModifiers",
",",
"boolean",
"isStatic",
",",
"ICompletionRequestor",
"requestor",
")",
"throws",
"JavaModelException",
";",
"void",
"codeComplete",
"(",
"char",
"[",
"]",
"snippet",
",",
"int",
"insertion",
",",
"int",
"position",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableNames",
",",
"int",
"[",
"]",
"localVariableModifiers",
",",
"boolean",
"isStatic",
",",
"ICompletionRequestor",
"requestor",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"void",
"codeComplete",
"(",
"char",
"[",
"]",
"snippet",
",",
"int",
"insertion",
",",
"int",
"position",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableNames",
",",
"int",
"[",
"]",
"localVariableModifiers",
",",
"boolean",
"isStatic",
",",
"CompletionRequestor",
"requestor",
")",
"throws",
"JavaModelException",
";",
"void",
"codeComplete",
"(",
"char",
"[",
"]",
"snippet",
",",
"int",
"insertion",
",",
"int",
"position",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableNames",
",",
"int",
"[",
"]",
"localVariableModifiers",
",",
"boolean",
"isStatic",
",",
"CompletionRequestor",
"requestor",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"codeComplete",
"(",
"char",
"[",
"]",
"snippet",
",",
"int",
"insertion",
",",
"int",
"position",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableNames",
",",
"int",
"[",
"]",
"localVariableModifiers",
",",
"boolean",
"isStatic",
",",
"CompletionRequestor",
"requestor",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"void",
"codeComplete",
"(",
"char",
"[",
"]",
"snippet",
",",
"int",
"insertion",
",",
"int",
"position",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"localVariableNames",
",",
"int",
"[",
"]",
"localVariableModifiers",
",",
"boolean",
"isStatic",
",",
"CompletionRequestor",
"requestor",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IField",
"createField",
"(",
"String",
"contents",
",",
"IJavaElement",
"sibling",
",",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IInitializer",
"createInitializer",
"(",
"String",
"contents",
",",
"IJavaElement",
"sibling",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IMethod",
"createMethod",
"(",
"String",
"contents",
",",
"IJavaElement",
"sibling",
",",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IType",
"createType",
"(",
"String",
"contents",
",",
"IJavaElement",
"sibling",
",",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IMethod",
"[",
"]",
"findMethods",
"(",
"IMethod",
"method",
")",
";",
"IJavaElement",
"[",
"]",
"getChildrenForCategory",
"(",
"String",
"category",
")",
"throws",
"JavaModelException",
";",
"String",
"getElementName",
"(",
")",
";",
"IField",
"getField",
"(",
"String",
"name",
")",
";",
"IField",
"[",
"]",
"getFields",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getFullyQualifiedName",
"(",
")",
";",
"String",
"getFullyQualifiedName",
"(",
"char",
"enclosingTypeSeparator",
")",
";",
"String",
"getFullyQualifiedParameterizedName",
"(",
")",
"throws",
"JavaModelException",
";",
"IInitializer",
"getInitializer",
"(",
"int",
"occurrenceCount",
")",
";",
"IInitializer",
"[",
"]",
"getInitializers",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getKey",
"(",
")",
";",
"IMethod",
"getMethod",
"(",
"String",
"name",
",",
"String",
"[",
"]",
"parameterTypeSignatures",
")",
";",
"IMethod",
"[",
"]",
"getMethods",
"(",
")",
"throws",
"JavaModelException",
";",
"IPackageFragment",
"getPackageFragment",
"(",
")",
";",
"String",
"getSuperclassName",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getSuperclassTypeSignature",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"getSuperInterfaceTypeSignatures",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"getSuperInterfaceNames",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"getTypeParameterSignatures",
"(",
")",
"throws",
"JavaModelException",
";",
"ITypeParameter",
"[",
"]",
"getTypeParameters",
"(",
")",
"throws",
"JavaModelException",
";",
"IType",
"getType",
"(",
"String",
"name",
")",
";",
"ITypeParameter",
"getTypeParameter",
"(",
"String",
"name",
")",
";",
"String",
"getTypeQualifiedName",
"(",
")",
";",
"String",
"getTypeQualifiedName",
"(",
"char",
"enclosingTypeSeparator",
")",
";",
"IType",
"[",
"]",
"getTypes",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isAnonymous",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isClass",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isEnum",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isInterface",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isAnnotation",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isLocal",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isMember",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isResolved",
"(",
")",
";",
"ITypeHierarchy",
"loadTypeHierachy",
"(",
"InputStream",
"input",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newSupertypeHierarchy",
"(",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newSupertypeHierarchy",
"(",
"ICompilationUnit",
"[",
"]",
"workingCopies",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newSupertypeHierarchy",
"(",
"IWorkingCopy",
"[",
"]",
"workingCopies",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newSupertypeHierarchy",
"(",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IJavaProject",
"project",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IJavaProject",
"project",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"ICompilationUnit",
"[",
"]",
"workingCopies",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IWorkingCopy",
"[",
"]",
"workingCopies",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"[",
"]",
"resolveType",
"(",
"String",
"typeName",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"[",
"]",
"resolveType",
"(",
"String",
"typeName",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,013 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IResource",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"import",
"org",
".",
"eclipse",
".",
"text",
".",
"edits",
".",
"TextEdit",
";",
"import",
"org",
".",
"eclipse",
".",
"text",
".",
"edits",
".",
"UndoEdit",
";",
"public",
"interface",
"IBuffer",
"{",
"public",
"interface",
"ITextEditCapability",
"{",
"public",
"UndoEdit",
"applyTextEdit",
"(",
"TextEdit",
"edit",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"}",
"public",
"void",
"addBufferChangedListener",
"(",
"IBufferChangedListener",
"listener",
")",
";",
"public",
"void",
"append",
"(",
"char",
"[",
"]",
"text",
")",
";",
"public",
"void",
"append",
"(",
"String",
"text",
")",
";",
"public",
"void",
"close",
"(",
")",
";",
"public",
"char",
"getChar",
"(",
"int",
"position",
")",
";",
"public",
"char",
"[",
"]",
"getCharacters",
"(",
")",
";",
"public",
"String",
"getContents",
"(",
")",
";",
"public",
"int",
"getLength",
"(",
")",
";",
"public",
"IOpenable",
"getOwner",
"(",
")",
";",
"public",
"String",
"getText",
"(",
"int",
"offset",
",",
"int",
"length",
")",
"throws",
"IndexOutOfBoundsException",
";",
"public",
"IResource",
"getUnderlyingResource",
"(",
")",
";",
"public",
"boolean",
"hasUnsavedChanges",
"(",
")",
";",
"public",
"boolean",
"isClosed",
"(",
")",
";",
"public",
"boolean",
"isReadOnly",
"(",
")",
";",
"public",
"void",
"removeBufferChangedListener",
"(",
"IBufferChangedListener",
"listener",
")",
";",
"public",
"void",
"replace",
"(",
"int",
"position",
",",
"int",
"length",
",",
"char",
"[",
"]",
"text",
")",
";",
"public",
"void",
"replace",
"(",
"int",
"position",
",",
"int",
"length",
",",
"String",
"text",
")",
";",
"public",
"void",
"save",
"(",
"IProgressMonitor",
"progress",
",",
"boolean",
"force",
")",
"throws",
"JavaModelException",
";",
"public",
"void",
"setContents",
"(",
"char",
"[",
"]",
"contents",
")",
";",
"public",
"void",
"setContents",
"(",
"String",
"contents",
")",
";",
"}",
"</s>"
] |
3,014 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IMethod",
"extends",
"IMember",
",",
"IAnnotatable",
"{",
"IMemberValuePair",
"getDefaultValue",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getElementName",
"(",
")",
";",
"String",
"[",
"]",
"getExceptionTypes",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"getTypeParameterSignatures",
"(",
")",
"throws",
"JavaModelException",
";",
"ITypeParameter",
"[",
"]",
"getTypeParameters",
"(",
")",
"throws",
"JavaModelException",
";",
"int",
"getNumberOfParameters",
"(",
")",
";",
"ILocalVariable",
"[",
"]",
"getParameters",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getKey",
"(",
")",
";",
"String",
"[",
"]",
"getParameterNames",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"getParameterTypes",
"(",
")",
";",
"String",
"[",
"]",
"getRawParameterNames",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getReturnType",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getSignature",
"(",
")",
"throws",
"JavaModelException",
";",
"ITypeParameter",
"getTypeParameter",
"(",
"String",
"name",
")",
";",
"boolean",
"isConstructor",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isMainMethod",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isResolved",
"(",
")",
";",
"boolean",
"isSimilar",
"(",
"IMethod",
"method",
")",
";",
"}",
"</s>"
] |
3,015 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"io",
".",
"File",
";",
"import",
"java",
".",
"io",
".",
"IOException",
";",
"import",
"java",
".",
"io",
".",
"InputStream",
";",
"import",
"java",
".",
"util",
".",
"HashMap",
";",
"import",
"java",
".",
"util",
".",
"Map",
";",
"import",
"java",
".",
"util",
".",
"zip",
".",
"ZipEntry",
";",
"import",
"java",
".",
"util",
".",
"zip",
".",
"ZipFile",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IFile",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"*",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"IScanner",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"ITerminalSymbols",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"formatter",
".",
"CodeFormatter",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"formatter",
".",
"DefaultCodeFormatterConstants",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
".",
"ClassFileBytesDisassembler",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
".",
"ClassFormatException",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
".",
"IClassFileReader",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"classfmt",
".",
"ClassFileConstants",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"impl",
".",
"CompilerOptions",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"util",
".",
"SuffixConstants",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"util",
".",
"Util",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"JarPackageFragmentRoot",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"JavaElement",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"JavaModelManager",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"PackageFragment",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"ClassFileReader",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"Disassembler",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"PublicScanner",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"formatter",
".",
"DefaultCodeFormatter",
";",
"public",
"class",
"ToolFactory",
"{",
"public",
"static",
"final",
"int",
"M_FORMAT_NEW",
"=",
"new",
"Integer",
"(",
"0",
")",
".",
"intValue",
"(",
")",
";",
"public",
"static",
"final",
"int",
"M_FORMAT_EXISTING",
"=",
"new",
"Integer",
"(",
"1",
")",
".",
"intValue",
"(",
")",
";",
"public",
"static",
"ICodeFormatter",
"createCodeFormatter",
"(",
")",
"{",
"Plugin",
"jdtCorePlugin",
"=",
"JavaCore",
".",
"getPlugin",
"(",
")",
";",
"if",
"(",
"jdtCorePlugin",
"==",
"null",
")",
"return",
"null",
";",
"IExtensionPoint",
"extension",
"=",
"jdtCorePlugin",
".",
"getDescriptor",
"(",
")",
".",
"getExtensionPoint",
"(",
"JavaModelManager",
".",
"FORMATTER_EXTPOINT_ID",
")",
";",
"if",
"(",
"extension",
"!=",
"null",
")",
"{",
"IExtension",
"[",
"]",
"extensions",
"=",
"extension",
".",
"getExtensions",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"extensions",
".",
"length",
";",
"i",
"++",
")",
"{",
"IConfigurationElement",
"[",
"]",
"configElements",
"=",
"extensions",
"[",
"i",
"]",
".",
"getConfigurationElements",
"(",
")",
";",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"configElements",
".",
"length",
";",
"j",
"++",
")",
"{",
"try",
"{",
"Object",
"execExt",
"=",
"configElements",
"[",
"j",
"]",
".",
"createExecutableExtension",
"(",
"\"class\"",
")",
";",
"if",
"(",
"execExt",
"instanceof",
"ICodeFormatter",
")",
"{",
"return",
"(",
"ICodeFormatter",
")",
"execExt",
";",
"}",
"}",
"catch",
"(",
"CoreException",
"e",
")",
"{",
"}",
"}",
"}",
"}",
"return",
"createDefaultCodeFormatter",
"(",
"null",
")",
";",
"}",
"public",
"static",
"CodeFormatter",
"createCodeFormatter",
"(",
"Map",
"options",
")",
"{",
"return",
"createCodeFormatter",
"(",
"options",
",",
"M_FORMAT_NEW",
")",
";",
"}",
"public",
"static",
"CodeFormatter",
"createCodeFormatter",
"(",
"Map",
"options",
",",
"int",
"mode",
")",
"{",
"if",
"(",
"options",
"==",
"null",
")",
"options",
"=",
"JavaCore",
".",
"getOptions",
"(",
")",
";",
"Map",
"currentOptions",
"=",
"new",
"HashMap",
"(",
"options",
")",
";",
"if",
"(",
"mode",
"==",
"M_FORMAT_NEW",
")",
"{",
"currentOptions",
".",
"put",
"(",
"DefaultCodeFormatterConstants",
".",
"FORMATTER_COMMENT_FORMAT_LINE_COMMENT_STARTING_ON_FIRST_COLUMN",
",",
"DefaultCodeFormatterConstants",
".",
"TRUE",
")",
";",
"currentOptions",
".",
"put",
"(",
"DefaultCodeFormatterConstants",
".",
"FORMATTER_NEVER_INDENT_BLOCK_COMMENTS_ON_FIRST_COLUMN",
",",
"DefaultCodeFormatterConstants",
".",
"FALSE",
")",
";",
"currentOptions",
".",
"put",
"(",
"DefaultCodeFormatterConstants",
".",
"FORMATTER_NEVER_INDENT_LINE_COMMENTS_ON_FIRST_COLUMN",
",",
"DefaultCodeFormatterConstants",
".",
"FALSE",
")",
";",
"}",
"return",
"new",
"DefaultCodeFormatter",
"(",
"currentOptions",
")",
";",
"}",
"public",
"static",
"ClassFileBytesDisassembler",
"createDefaultClassFileBytesDisassembler",
"(",
")",
"{",
"return",
"new",
"Disassembler",
"(",
")",
";",
"}",
"public",
"static",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
".",
"IClassFileDisassembler",
"createDefaultClassFileDisassembler",
"(",
")",
"{",
"class",
"DeprecatedDisassembler",
"extends",
"Disassembler",
"implements",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
".",
"IClassFileDisassembler",
"{",
"}",
"return",
"new",
"DeprecatedDisassembler",
"(",
")",
";",
"}",
"public",
"static",
"IClassFileReader",
"createDefaultClassFileReader",
"(",
"IClassFile",
"classfile",
",",
"int",
"decodingFlag",
")",
"{",
"IPackageFragmentRoot",
"root",
"=",
"(",
"IPackageFragmentRoot",
")",
"classfile",
".",
"getAncestor",
"(",
"IJavaElement",
".",
"PACKAGE_FRAGMENT_ROOT",
")",
";",
"if",
"(",
"root",
"!=",
"null",
")",
"{",
"try",
"{",
"if",
"(",
"root",
"instanceof",
"JarPackageFragmentRoot",
")",
"{",
"String",
"archiveName",
"=",
"null",
";",
"ZipFile",
"jar",
"=",
"null",
";",
"try",
"{",
"jar",
"=",
"(",
"(",
"JarPackageFragmentRoot",
")",
"root",
")",
".",
"getJar",
"(",
")",
";",
"archiveName",
"=",
"jar",
".",
"getName",
"(",
")",
";",
"}",
"finally",
"{",
"JavaModelManager",
".",
"getJavaModelManager",
"(",
")",
".",
"closeZipFile",
"(",
"jar",
")",
";",
"}",
"PackageFragment",
"packageFragment",
"=",
"(",
"PackageFragment",
")",
"classfile",
".",
"getParent",
"(",
")",
";",
"String",
"classFileName",
"=",
"classfile",
".",
"getElementName",
"(",
")",
";",
"String",
"entryName",
"=",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"Util",
".",
"concatWith",
"(",
"packageFragment",
".",
"names",
",",
"classFileName",
",",
"'/'",
")",
";",
"return",
"createDefaultClassFileReader",
"(",
"archiveName",
",",
"entryName",
",",
"decodingFlag",
")",
";",
"}",
"else",
"{",
"InputStream",
"in",
"=",
"null",
";",
"try",
"{",
"in",
"=",
"(",
"(",
"IFile",
")",
"(",
"(",
"JavaElement",
")",
"classfile",
")",
".",
"resource",
"(",
")",
")",
".",
"getContents",
"(",
")",
";",
"return",
"createDefaultClassFileReader",
"(",
"in",
",",
"decodingFlag",
")",
";",
"}",
"finally",
"{",
"if",
"(",
"in",
"!=",
"null",
")",
"try",
"{",
"in",
".",
"close",
"(",
")",
";",
"}",
"catch",
"(",
"IOException",
"e",
")",
"{",
"}",
"}",
"}",
"}",
"catch",
"(",
"CoreException",
"e",
")",
"{",
"}",
"}",
"return",
"null",
";",
"}",
"public",
"static",
"IClassFileReader",
"createDefaultClassFileReader",
"(",
"InputStream",
"stream",
",",
"int",
"decodingFlag",
")",
"{",
"try",
"{",
"return",
"new",
"ClassFileReader",
"(",
"Util",
".",
"getInputStreamAsByteArray",
"(",
"stream",
",",
"-",
"1",
")",
",",
"decodingFlag",
")",
";",
"}",
"catch",
"(",
"ClassFormatException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"catch",
"(",
"IOException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"}",
"public",
"static",
"IClassFileReader",
"createDefaultClassFileReader",
"(",
"String",
"fileName",
",",
"int",
"decodingFlag",
")",
"{",
"try",
"{",
"return",
"new",
"ClassFileReader",
"(",
"Util",
".",
"getFileByteContent",
"(",
"new",
"File",
"(",
"fileName",
")",
")",
",",
"decodingFlag",
")",
";",
"}",
"catch",
"(",
"ClassFormatException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"catch",
"(",
"IOException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"}",
"public",
"static",
"IClassFileReader",
"createDefaultClassFileReader",
"(",
"String",
"zipFileName",
",",
"String",
"zipEntryName",
",",
"int",
"decodingFlag",
")",
"{",
"ZipFile",
"zipFile",
"=",
"null",
";",
"try",
"{",
"if",
"(",
"JavaModelManager",
".",
"ZIP_ACCESS_VERBOSE",
")",
"{",
"System",
".",
"out",
".",
"println",
"(",
"\"(\"",
"+",
"Thread",
".",
"currentThread",
"(",
")",
"+",
"\"\"",
"+",
"zipFileName",
")",
";",
"}",
"zipFile",
"=",
"new",
"ZipFile",
"(",
"zipFileName",
")",
";",
"ZipEntry",
"zipEntry",
"=",
"zipFile",
".",
"getEntry",
"(",
"zipEntryName",
")",
";",
"if",
"(",
"zipEntry",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"if",
"(",
"!",
"zipEntryName",
".",
"toLowerCase",
"(",
")",
".",
"endsWith",
"(",
"SuffixConstants",
".",
"SUFFIX_STRING_class",
")",
")",
"{",
"return",
"null",
";",
"}",
"byte",
"classFileBytes",
"[",
"]",
"=",
"Util",
".",
"getZipEntryByteContent",
"(",
"zipEntry",
",",
"zipFile",
")",
";",
"return",
"new",
"ClassFileReader",
"(",
"classFileBytes",
",",
"decodingFlag",
")",
";",
"}",
"catch",
"(",
"ClassFormatException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"catch",
"(",
"IOException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"finally",
"{",
"if",
"(",
"zipFile",
"!=",
"null",
")",
"{",
"try",
"{",
"zipFile",
".",
"close",
"(",
")",
";",
"}",
"catch",
"(",
"IOException",
"e",
")",
"{",
"}",
"}",
"}",
"}",
"public",
"static",
"ICodeFormatter",
"createDefaultCodeFormatter",
"(",
"Map",
"options",
")",
"{",
"if",
"(",
"options",
"==",
"null",
")",
"options",
"=",
"JavaCore",
".",
"getOptions",
"(",
")",
";",
"return",
"new",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"formatter",
".",
"old",
".",
"CodeFormatter",
"(",
"options",
")",
";",
"}",
"public",
"static",
"IScanner",
"createScanner",
"(",
"boolean",
"tokenizeComments",
",",
"boolean",
"tokenizeWhiteSpace",
",",
"boolean",
"assertMode",
",",
"boolean",
"recordLineSeparator",
")",
"{",
"long",
"complianceLevelValue",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"JavaCore",
".",
"getOption",
"(",
"JavaCore",
".",
"COMPILER_COMPLIANCE",
")",
")",
";",
"if",
"(",
"complianceLevelValue",
"==",
"0",
")",
"complianceLevelValue",
"=",
"ClassFileConstants",
".",
"JDK1_4",
";",
"PublicScanner",
"scanner",
"=",
"new",
"PublicScanner",
"(",
"tokenizeComments",
",",
"tokenizeWhiteSpace",
",",
"false",
",",
"assertMode",
"?",
"ClassFileConstants",
".",
"JDK1_4",
":",
"ClassFileConstants",
".",
"JDK1_3",
",",
"complianceLevelValue",
",",
"null",
",",
"null",
",",
"true",
")",
";",
"scanner",
".",
"recordLineSeparator",
"=",
"recordLineSeparator",
";",
"return",
"scanner",
";",
"}",
"public",
"static",
"IScanner",
"createScanner",
"(",
"boolean",
"tokenizeComments",
",",
"boolean",
"tokenizeWhiteSpace",
",",
"boolean",
"recordLineSeparator",
",",
"String",
"sourceLevel",
")",
"{",
"long",
"complianceLevelValue",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"JavaCore",
".",
"getOption",
"(",
"JavaCore",
".",
"COMPILER_COMPLIANCE",
")",
")",
";",
"if",
"(",
"complianceLevelValue",
"==",
"0",
")",
"complianceLevelValue",
"=",
"ClassFileConstants",
".",
"JDK1_4",
";",
"long",
"sourceLevelValue",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"sourceLevel",
")",
";",
"if",
"(",
"sourceLevelValue",
"==",
"0",
")",
"sourceLevelValue",
"=",
"ClassFileConstants",
".",
"JDK1_3",
";",
"PublicScanner",
"scanner",
"=",
"new",
"PublicScanner",
"(",
"tokenizeComments",
",",
"tokenizeWhiteSpace",
",",
"false",
",",
"sourceLevelValue",
",",
"complianceLevelValue",
",",
"null",
",",
"null",
",",
"true",
")",
";",
"scanner",
".",
"recordLineSeparator",
"=",
"recordLineSeparator",
";",
"return",
"scanner",
";",
"}",
"public",
"static",
"IScanner",
"createScanner",
"(",
"boolean",
"tokenizeComments",
",",
"boolean",
"tokenizeWhiteSpace",
",",
"boolean",
"recordLineSeparator",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"PublicScanner",
"scanner",
"=",
"null",
";",
"long",
"sourceLevelValue",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"sourceLevel",
")",
";",
"if",
"(",
"sourceLevelValue",
"==",
"0",
")",
"sourceLevelValue",
"=",
"ClassFileConstants",
".",
"JDK1_3",
";",
"long",
"complianceLevelValue",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"complianceLevel",
")",
";",
"if",
"(",
"complianceLevelValue",
"==",
"0",
")",
"complianceLevelValue",
"=",
"ClassFileConstants",
".",
"JDK1_4",
";",
"scanner",
"=",
"new",
"PublicScanner",
"(",
"tokenizeComments",
",",
"tokenizeWhiteSpace",
",",
"false",
",",
"sourceLevelValue",
",",
"complianceLevelValue",
",",
"null",
",",
"null",
",",
"true",
")",
";",
"scanner",
".",
"recordLineSeparator",
"=",
"recordLineSeparator",
";",
"return",
"scanner",
";",
"}",
"}",
"</s>"
] |
3,016 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"IProblem",
";",
"public",
"class",
"CompletionRequestorAdapter",
"implements",
"ICompletionRequestor",
"{",
"public",
"void",
"acceptAnonymousType",
"(",
"char",
"[",
"]",
"superTypePackageName",
",",
"char",
"[",
"]",
"superTypeName",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptClass",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"className",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptError",
"(",
"IProblem",
"error",
")",
"{",
"}",
"public",
"void",
"acceptField",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptInterface",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"interfaceName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptKeyword",
"(",
"char",
"[",
"]",
"keywordName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptLabel",
"(",
"char",
"[",
"]",
"labelName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptLocalVariable",
"(",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptMethod",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"selector",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"returnTypePackageName",
",",
"char",
"[",
"]",
"returnTypeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptMethodDeclaration",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"selector",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"returnTypePackageName",
",",
"char",
"[",
"]",
"returnTypeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptModifier",
"(",
"char",
"[",
"]",
"modifierName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptPackage",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptType",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"public",
"void",
"acceptVariableName",
"(",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
"{",
"}",
"}",
"</s>"
] |
3,017 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"util",
".",
"StringTokenizer",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IResource",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IWorkspace",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"ResourcesPlugin",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IStatus",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"Status",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"*",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"classfmt",
".",
"ClassFileConstants",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"impl",
".",
"CompilerOptions",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"lookup",
".",
"TypeConstants",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"parser",
".",
"Scanner",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"parser",
".",
"ScannerHelper",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"parser",
".",
"TerminalTokens",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"*",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"Messages",
";",
"public",
"final",
"class",
"JavaConventions",
"{",
"private",
"static",
"final",
"char",
"DOT",
"=",
"'.'",
";",
"private",
"static",
"final",
"String",
"PACKAGE_INFO",
"=",
"new",
"String",
"(",
"TypeConstants",
".",
"PACKAGE_INFO_NAME",
")",
";",
"private",
"static",
"final",
"Scanner",
"SCANNER",
"=",
"new",
"Scanner",
"(",
"false",
",",
"true",
",",
"false",
",",
"ClassFileConstants",
".",
"JDK1_3",
",",
"null",
",",
"null",
",",
"true",
")",
";",
"private",
"JavaConventions",
"(",
")",
"{",
"}",
"public",
"static",
"boolean",
"isOverlappingRoots",
"(",
"IPath",
"rootPath1",
",",
"IPath",
"rootPath2",
")",
"{",
"if",
"(",
"rootPath1",
"==",
"null",
"||",
"rootPath2",
"==",
"null",
")",
"{",
"return",
"false",
";",
"}",
"return",
"rootPath1",
".",
"isPrefixOf",
"(",
"rootPath2",
")",
"||",
"rootPath2",
".",
"isPrefixOf",
"(",
"rootPath1",
")",
";",
"}",
"private",
"static",
"synchronized",
"char",
"[",
"]",
"scannedIdentifier",
"(",
"String",
"id",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"id",
"==",
"null",
")",
"{",
"return",
"null",
";",
"}",
"SCANNER",
".",
"sourceLevel",
"=",
"sourceLevel",
"==",
"null",
"?",
"ClassFileConstants",
".",
"JDK1_3",
":",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"sourceLevel",
")",
";",
"SCANNER",
".",
"complianceLevel",
"=",
"complianceLevel",
"==",
"null",
"?",
"ClassFileConstants",
".",
"JDK1_3",
":",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"complianceLevel",
")",
";",
"try",
"{",
"SCANNER",
".",
"setSource",
"(",
"id",
".",
"toCharArray",
"(",
")",
")",
";",
"int",
"token",
"=",
"SCANNER",
".",
"scanIdentifier",
"(",
")",
";",
"if",
"(",
"token",
"!=",
"TerminalTokens",
".",
"TokenNameIdentifier",
")",
"return",
"null",
";",
"if",
"(",
"SCANNER",
".",
"currentPosition",
"==",
"SCANNER",
".",
"eofPosition",
")",
"{",
"try",
"{",
"return",
"SCANNER",
".",
"getCurrentIdentifierSource",
"(",
")",
";",
"}",
"catch",
"(",
"ArrayIndexOutOfBoundsException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"}",
"else",
"{",
"return",
"null",
";",
"}",
"}",
"catch",
"(",
"InvalidInputException",
"e",
")",
"{",
"return",
"null",
";",
"}",
"}",
"public",
"static",
"IStatus",
"validateCompilationUnitName",
"(",
"String",
"name",
")",
"{",
"return",
"validateCompilationUnitName",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateCompilationUnitName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"name",
"==",
"null",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_unit_nullName",
",",
"null",
")",
";",
"}",
"if",
"(",
"!",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"Util",
".",
"isJavaLikeFileName",
"(",
"name",
")",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_unit_notJavaName",
",",
"null",
")",
";",
"}",
"String",
"identifier",
";",
"int",
"index",
";",
"index",
"=",
"name",
".",
"lastIndexOf",
"(",
"'.'",
")",
";",
"if",
"(",
"index",
"==",
"-",
"1",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_unit_notJavaName",
",",
"null",
")",
";",
"}",
"identifier",
"=",
"name",
".",
"substring",
"(",
"0",
",",
"index",
")",
";",
"if",
"(",
"!",
"identifier",
".",
"equals",
"(",
"PACKAGE_INFO",
")",
")",
"{",
"IStatus",
"status",
"=",
"validateIdentifier",
"(",
"identifier",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"}",
"IStatus",
"status",
"=",
"ResourcesPlugin",
".",
"getWorkspace",
"(",
")",
".",
"validateName",
"(",
"name",
",",
"IResource",
".",
"FILE",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"return",
"JavaModelStatus",
".",
"VERIFIED_OK",
";",
"}",
"public",
"static",
"IStatus",
"validateClassFileName",
"(",
"String",
"name",
")",
"{",
"return",
"validateClassFileName",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateClassFileName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"name",
"==",
"null",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_classFile_nullName",
",",
"null",
")",
";",
"}",
"if",
"(",
"!",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"util",
".",
"Util",
".",
"isClassFileName",
"(",
"name",
")",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_classFile_notClassFileName",
",",
"null",
")",
";",
"}",
"String",
"identifier",
";",
"int",
"index",
";",
"index",
"=",
"name",
".",
"lastIndexOf",
"(",
"'.'",
")",
";",
"if",
"(",
"index",
"==",
"-",
"1",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_classFile_notClassFileName",
",",
"null",
")",
";",
"}",
"identifier",
"=",
"name",
".",
"substring",
"(",
"0",
",",
"index",
")",
";",
"if",
"(",
"!",
"identifier",
".",
"equals",
"(",
"PACKAGE_INFO",
")",
")",
"{",
"IStatus",
"status",
"=",
"validateIdentifier",
"(",
"identifier",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"}",
"IStatus",
"status",
"=",
"ResourcesPlugin",
".",
"getWorkspace",
"(",
")",
".",
"validateName",
"(",
"name",
",",
"IResource",
".",
"FILE",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"return",
"JavaModelStatus",
".",
"VERIFIED_OK",
";",
"}",
"public",
"static",
"IStatus",
"validateFieldName",
"(",
"String",
"name",
")",
"{",
"return",
"validateIdentifier",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateFieldName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"return",
"validateIdentifier",
"(",
"name",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateIdentifier",
"(",
"String",
"id",
")",
"{",
"return",
"validateIdentifier",
"(",
"id",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateIdentifier",
"(",
"String",
"id",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"scannedIdentifier",
"(",
"id",
",",
"sourceLevel",
",",
"complianceLevel",
")",
"!=",
"null",
")",
"{",
"return",
"JavaModelStatus",
".",
"VERIFIED_OK",
";",
"}",
"else",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"bind",
"(",
"Messages",
".",
"convention_illegalIdentifier",
",",
"id",
")",
",",
"null",
")",
";",
"}",
"}",
"public",
"static",
"IStatus",
"validateImportDeclaration",
"(",
"String",
"name",
")",
"{",
"return",
"validateImportDeclaration",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateImportDeclaration",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"name",
"==",
"null",
"||",
"name",
".",
"length",
"(",
")",
"==",
"0",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_import_nullImport",
",",
"null",
")",
";",
"}",
"if",
"(",
"name",
".",
"charAt",
"(",
"name",
".",
"length",
"(",
")",
"-",
"1",
")",
"==",
"'*'",
")",
"{",
"if",
"(",
"name",
".",
"charAt",
"(",
"name",
".",
"length",
"(",
")",
"-",
"2",
")",
"==",
"'.'",
")",
"{",
"return",
"validatePackageName",
"(",
"name",
".",
"substring",
"(",
"0",
",",
"name",
".",
"length",
"(",
")",
"-",
"2",
")",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"else",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_import_unqualifiedImport",
",",
"null",
")",
";",
"}",
"}",
"return",
"validatePackageName",
"(",
"name",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateJavaTypeName",
"(",
"String",
"name",
")",
"{",
"return",
"validateJavaTypeName",
"(",
"name",
",",
"JavaCore",
".",
"VERSION_1_3",
",",
"JavaCore",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateJavaTypeName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"name",
"==",
"null",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_type_nullName",
",",
"null",
")",
";",
"}",
"String",
"trimmed",
"=",
"name",
".",
"trim",
"(",
")",
";",
"if",
"(",
"!",
"name",
".",
"equals",
"(",
"trimmed",
")",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_type_nameWithBlanks",
",",
"null",
")",
";",
"}",
"int",
"index",
"=",
"name",
".",
"lastIndexOf",
"(",
"'.'",
")",
";",
"char",
"[",
"]",
"scannedID",
";",
"if",
"(",
"index",
"==",
"-",
"1",
")",
"{",
"scannedID",
"=",
"scannedIdentifier",
"(",
"name",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"else",
"{",
"String",
"pkg",
"=",
"name",
".",
"substring",
"(",
"0",
",",
"index",
")",
".",
"trim",
"(",
")",
";",
"IStatus",
"status",
"=",
"validatePackageName",
"(",
"pkg",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"String",
"type",
"=",
"name",
".",
"substring",
"(",
"index",
"+",
"1",
")",
".",
"trim",
"(",
")",
";",
"scannedID",
"=",
"scannedIdentifier",
"(",
"type",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"if",
"(",
"scannedID",
"!=",
"null",
")",
"{",
"IStatus",
"status",
"=",
"ResourcesPlugin",
".",
"getWorkspace",
"(",
")",
".",
"validateName",
"(",
"new",
"String",
"(",
"scannedID",
")",
",",
"IResource",
".",
"FILE",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"if",
"(",
"CharOperation",
".",
"contains",
"(",
"'$'",
",",
"scannedID",
")",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"WARNING",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_type_dollarName",
",",
"null",
")",
";",
"}",
"if",
"(",
"(",
"scannedID",
".",
"length",
">",
"0",
"&&",
"ScannerHelper",
".",
"isLowerCase",
"(",
"scannedID",
"[",
"0",
"]",
")",
")",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"WARNING",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_type_lowercaseName",
",",
"null",
")",
";",
"}",
"return",
"JavaModelStatus",
".",
"VERIFIED_OK",
";",
"}",
"else",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"bind",
"(",
"Messages",
".",
"convention_type_invalidName",
",",
"name",
")",
",",
"null",
")",
";",
"}",
"}",
"public",
"static",
"IStatus",
"validateMethodName",
"(",
"String",
"name",
")",
"{",
"return",
"validateMethodName",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateMethodName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"return",
"validateIdentifier",
"(",
"name",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"public",
"static",
"IStatus",
"validatePackageName",
"(",
"String",
"name",
")",
"{",
"return",
"validatePackageName",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validatePackageName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"if",
"(",
"name",
"==",
"null",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_package_nullName",
",",
"null",
")",
";",
"}",
"int",
"length",
";",
"if",
"(",
"(",
"length",
"=",
"name",
".",
"length",
"(",
")",
")",
"==",
"0",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_package_emptyName",
",",
"null",
")",
";",
"}",
"if",
"(",
"name",
".",
"charAt",
"(",
"0",
")",
"==",
"DOT",
"||",
"name",
".",
"charAt",
"(",
"length",
"-",
"1",
")",
"==",
"DOT",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_package_dotName",
",",
"null",
")",
";",
"}",
"if",
"(",
"CharOperation",
".",
"isWhitespace",
"(",
"name",
".",
"charAt",
"(",
"0",
")",
")",
"||",
"CharOperation",
".",
"isWhitespace",
"(",
"name",
".",
"charAt",
"(",
"name",
".",
"length",
"(",
")",
"-",
"1",
")",
")",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_package_nameWithBlanks",
",",
"null",
")",
";",
"}",
"int",
"dot",
"=",
"0",
";",
"while",
"(",
"dot",
"!=",
"-",
"1",
"&&",
"dot",
"<",
"length",
"-",
"1",
")",
"{",
"if",
"(",
"(",
"dot",
"=",
"name",
".",
"indexOf",
"(",
"DOT",
",",
"dot",
"+",
"1",
")",
")",
"!=",
"-",
"1",
"&&",
"dot",
"<",
"length",
"-",
"1",
"&&",
"name",
".",
"charAt",
"(",
"dot",
"+",
"1",
")",
"==",
"DOT",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_package_consecutiveDotsName",
",",
"null",
")",
";",
"}",
"}",
"IWorkspace",
"workspace",
"=",
"ResourcesPlugin",
".",
"getWorkspace",
"(",
")",
";",
"StringTokenizer",
"st",
"=",
"new",
"StringTokenizer",
"(",
"name",
",",
"\".\"",
")",
";",
"boolean",
"firstToken",
"=",
"true",
";",
"IStatus",
"warningStatus",
"=",
"null",
";",
"while",
"(",
"st",
".",
"hasMoreTokens",
"(",
")",
")",
"{",
"String",
"typeName",
"=",
"st",
".",
"nextToken",
"(",
")",
";",
"typeName",
"=",
"typeName",
".",
"trim",
"(",
")",
";",
"char",
"[",
"]",
"scannedID",
"=",
"scannedIdentifier",
"(",
"typeName",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"if",
"(",
"scannedID",
"==",
"null",
")",
"{",
"return",
"new",
"Status",
"(",
"IStatus",
".",
"ERROR",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"bind",
"(",
"Messages",
".",
"convention_illegalIdentifier",
",",
"typeName",
")",
",",
"null",
")",
";",
"}",
"IStatus",
"status",
"=",
"workspace",
".",
"validateName",
"(",
"new",
"String",
"(",
"scannedID",
")",
",",
"IResource",
".",
"FOLDER",
")",
";",
"if",
"(",
"!",
"status",
".",
"isOK",
"(",
")",
")",
"{",
"return",
"status",
";",
"}",
"if",
"(",
"firstToken",
"&&",
"scannedID",
".",
"length",
">",
"0",
"&&",
"ScannerHelper",
".",
"isUpperCase",
"(",
"scannedID",
"[",
"0",
"]",
")",
")",
"{",
"if",
"(",
"warningStatus",
"==",
"null",
")",
"{",
"warningStatus",
"=",
"new",
"Status",
"(",
"IStatus",
".",
"WARNING",
",",
"JavaCore",
".",
"PLUGIN_ID",
",",
"-",
"1",
",",
"Messages",
".",
"convention_package_uppercaseName",
",",
"null",
")",
";",
"}",
"}",
"firstToken",
"=",
"false",
";",
"}",
"if",
"(",
"warningStatus",
"!=",
"null",
")",
"{",
"return",
"warningStatus",
";",
"}",
"return",
"JavaModelStatus",
".",
"VERIFIED_OK",
";",
"}",
"public",
"static",
"IJavaModelStatus",
"validateClasspath",
"(",
"IJavaProject",
"javaProject",
",",
"IClasspathEntry",
"[",
"]",
"rawClasspath",
",",
"IPath",
"projectOutputLocation",
")",
"{",
"return",
"ClasspathEntry",
".",
"validateClasspath",
"(",
"javaProject",
",",
"rawClasspath",
",",
"projectOutputLocation",
")",
";",
"}",
"public",
"static",
"IJavaModelStatus",
"validateClasspathEntry",
"(",
"IJavaProject",
"project",
",",
"IClasspathEntry",
"entry",
",",
"boolean",
"checkSourceAttachment",
")",
"{",
"return",
"ClasspathEntry",
".",
"validateClasspathEntry",
"(",
"project",
",",
"entry",
",",
"checkSourceAttachment",
",",
"false",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateTypeVariableName",
"(",
"String",
"name",
")",
"{",
"return",
"validateIdentifier",
"(",
"name",
",",
"CompilerOptions",
".",
"VERSION_1_3",
",",
"CompilerOptions",
".",
"VERSION_1_3",
")",
";",
"}",
"public",
"static",
"IStatus",
"validateTypeVariableName",
"(",
"String",
"name",
",",
"String",
"sourceLevel",
",",
"String",
"complianceLevel",
")",
"{",
"return",
"validateIdentifier",
"(",
"name",
",",
"sourceLevel",
",",
"complianceLevel",
")",
";",
"}",
"}",
"</s>"
] |
3,018 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"codeassist",
".",
"InternalCompletionProposal",
";",
"public",
"class",
"CompletionProposal",
"{",
"public",
"static",
"final",
"int",
"ANONYMOUS_CLASS_DECLARATION",
"=",
"1",
";",
"public",
"static",
"final",
"int",
"FIELD_REF",
"=",
"2",
";",
"public",
"static",
"final",
"int",
"KEYWORD",
"=",
"3",
";",
"public",
"static",
"final",
"int",
"LABEL_REF",
"=",
"4",
";",
"public",
"static",
"final",
"int",
"LOCAL_VARIABLE_REF",
"=",
"5",
";",
"public",
"static",
"final",
"int",
"METHOD_REF",
"=",
"6",
";",
"public",
"static",
"final",
"int",
"METHOD_DECLARATION",
"=",
"7",
";",
"public",
"static",
"final",
"int",
"PACKAGE_REF",
"=",
"8",
";",
"public",
"static",
"final",
"int",
"TYPE_REF",
"=",
"9",
";",
"public",
"static",
"final",
"int",
"VARIABLE_DECLARATION",
"=",
"10",
";",
"public",
"static",
"final",
"int",
"POTENTIAL_METHOD_DECLARATION",
"=",
"11",
";",
"public",
"static",
"final",
"int",
"METHOD_NAME_REFERENCE",
"=",
"12",
";",
"public",
"static",
"final",
"int",
"ANNOTATION_ATTRIBUTE_REF",
"=",
"13",
";",
"public",
"static",
"final",
"int",
"JAVADOC_FIELD_REF",
"=",
"14",
";",
"public",
"static",
"final",
"int",
"JAVADOC_METHOD_REF",
"=",
"15",
";",
"public",
"static",
"final",
"int",
"JAVADOC_TYPE_REF",
"=",
"16",
";",
"public",
"static",
"final",
"int",
"JAVADOC_VALUE_REF",
"=",
"17",
";",
"public",
"static",
"final",
"int",
"JAVADOC_PARAM_REF",
"=",
"18",
";",
"public",
"static",
"final",
"int",
"JAVADOC_BLOCK_TAG",
"=",
"19",
";",
"public",
"static",
"final",
"int",
"JAVADOC_INLINE_TAG",
"=",
"20",
";",
"public",
"static",
"final",
"int",
"FIELD_IMPORT",
"=",
"21",
";",
"public",
"static",
"final",
"int",
"METHOD_IMPORT",
"=",
"22",
";",
"public",
"static",
"final",
"int",
"TYPE_IMPORT",
"=",
"23",
";",
"public",
"static",
"final",
"int",
"METHOD_REF_WITH_CASTED_RECEIVER",
"=",
"24",
";",
"public",
"static",
"final",
"int",
"FIELD_REF_WITH_CASTED_RECEIVER",
"=",
"25",
";",
"public",
"static",
"final",
"int",
"CONSTRUCTOR_INVOCATION",
"=",
"26",
";",
"public",
"static",
"final",
"int",
"ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION",
"=",
"27",
";",
"protected",
"static",
"final",
"int",
"FIRST_KIND",
"=",
"ANONYMOUS_CLASS_DECLARATION",
";",
"protected",
"static",
"final",
"int",
"LAST_KIND",
"=",
"ANONYMOUS_CLASS_CONSTRUCTOR_INVOCATION",
";",
"public",
"static",
"CompletionProposal",
"create",
"(",
"int",
"kind",
",",
"int",
"completionOffset",
")",
"{",
"return",
"new",
"InternalCompletionProposal",
"(",
"kind",
",",
"completionOffset",
")",
";",
"}",
"public",
"int",
"getAdditionalFlags",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"void",
"setAdditionalFlags",
"(",
"int",
"additionalFlags",
")",
"{",
"}",
"public",
"int",
"getKind",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"int",
"getCompletionLocation",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"int",
"getTokenStart",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"int",
"getTokenEnd",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"void",
"setTokenRange",
"(",
"int",
"startIndex",
",",
"int",
"endIndex",
")",
"{",
"}",
"public",
"char",
"[",
"]",
"getCompletion",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"void",
"setCompletion",
"(",
"char",
"[",
"]",
"completion",
")",
"{",
"}",
"public",
"int",
"getReplaceStart",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"int",
"getReplaceEnd",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"void",
"setReplaceRange",
"(",
"int",
"startIndex",
",",
"int",
"endIndex",
")",
"{",
"}",
"public",
"int",
"getRelevance",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"void",
"setRelevance",
"(",
"int",
"rating",
")",
"{",
"}",
"public",
"char",
"[",
"]",
"getDeclarationSignature",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"char",
"[",
"]",
"getDeclarationKey",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"void",
"setDeclarationSignature",
"(",
"char",
"[",
"]",
"signature",
")",
"{",
"}",
"public",
"void",
"setDeclarationKey",
"(",
"char",
"[",
"]",
"key",
")",
"{",
"}",
"public",
"char",
"[",
"]",
"getName",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"void",
"setName",
"(",
"char",
"[",
"]",
"name",
")",
"{",
"}",
"public",
"char",
"[",
"]",
"getSignature",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"char",
"[",
"]",
"getKey",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"void",
"setSignature",
"(",
"char",
"[",
"]",
"signature",
")",
"{",
"}",
"public",
"void",
"setKey",
"(",
"char",
"[",
"]",
"key",
")",
"{",
"}",
"public",
"int",
"getFlags",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"void",
"setFlags",
"(",
"int",
"flags",
")",
"{",
"}",
"public",
"CompletionProposal",
"[",
"]",
"getRequiredProposals",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"void",
"setRequiredProposals",
"(",
"CompletionProposal",
"[",
"]",
"proposals",
")",
"{",
"}",
"public",
"char",
"[",
"]",
"[",
"]",
"findParameterNames",
"(",
"IProgressMonitor",
"monitor",
")",
"{",
"return",
"null",
";",
"}",
"public",
"void",
"setParameterNames",
"(",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
")",
"{",
"}",
"public",
"int",
"getAccessibility",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"boolean",
"isConstructor",
"(",
")",
"{",
"return",
"false",
";",
"}",
"public",
"char",
"[",
"]",
"getReceiverSignature",
"(",
")",
"{",
"return",
"null",
";",
"}",
"public",
"int",
"getReceiverStart",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"int",
"getReceiverEnd",
"(",
")",
"{",
"return",
"-",
"1",
";",
"}",
"public",
"void",
"setReceiverSignature",
"(",
"char",
"[",
"]",
"signature",
")",
"{",
"}",
"public",
"void",
"setReceiverRange",
"(",
"int",
"startIndex",
",",
"int",
"endIndex",
")",
"{",
"}",
"public",
"boolean",
"canUseDiamond",
"(",
"CompletionContext",
"coreContext",
")",
"{",
"return",
"false",
";",
"}",
"}",
"</s>"
] |
3,019 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"CharOperation",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"parser",
".",
"ScannerHelper",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"INamingRequestor",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"InternalNamingConventions",
";",
"public",
"final",
"class",
"NamingConventions",
"{",
"static",
"class",
"NamingRequestor",
"implements",
"INamingRequestor",
"{",
"private",
"final",
"static",
"int",
"SIZE",
"=",
"10",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"firstPrefixAndFirstSuffixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"firstPrefixAndFirstSuffixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"firstPrefixAndSuffixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"firstPrefixAndSuffixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"prefixAndFirstSuffixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"prefixAndFirstSuffixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"prefixAndSuffixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"prefixAndSuffixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"firstPrefixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"firstPrefixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"prefixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"prefixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"firstSuffixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"firstSuffixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"suffixResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"suffixResultsCount",
"=",
"0",
";",
"private",
"char",
"[",
"]",
"[",
"]",
"otherResults",
"=",
"new",
"char",
"[",
"SIZE",
"]",
"[",
"]",
";",
"private",
"int",
"otherResultsCount",
"=",
"0",
";",
"public",
"void",
"acceptNameWithoutPrefixAndSuffix",
"(",
"char",
"[",
"]",
"name",
",",
"int",
"reusedCharacters",
")",
"{",
"int",
"length",
"=",
"this",
".",
"otherResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"otherResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"otherResults",
",",
"0",
",",
"this",
".",
"otherResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"otherResults",
"[",
"this",
".",
"otherResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"public",
"void",
"acceptNameWithPrefix",
"(",
"char",
"[",
"]",
"name",
",",
"boolean",
"isFirstPrefix",
",",
"int",
"reusedCharacters",
")",
"{",
"if",
"(",
"isFirstPrefix",
")",
"{",
"int",
"length",
"=",
"this",
".",
"firstPrefixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"firstPrefixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstPrefixResults",
",",
"0",
",",
"this",
".",
"firstPrefixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"firstPrefixResults",
"[",
"this",
".",
"firstPrefixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"else",
"{",
"int",
"length",
"=",
"this",
".",
"prefixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"prefixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"prefixResults",
",",
"0",
",",
"this",
".",
"prefixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"prefixResults",
"[",
"this",
".",
"prefixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"}",
"public",
"void",
"acceptNameWithPrefixAndSuffix",
"(",
"char",
"[",
"]",
"name",
",",
"boolean",
"isFirstPrefix",
",",
"boolean",
"isFirstSuffix",
",",
"int",
"reusedCharacters",
")",
"{",
"if",
"(",
"isFirstPrefix",
"&&",
"isFirstSuffix",
")",
"{",
"int",
"length",
"=",
"this",
".",
"firstPrefixAndFirstSuffixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"firstPrefixAndFirstSuffixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstPrefixAndFirstSuffixResults",
",",
"0",
",",
"this",
".",
"firstPrefixAndFirstSuffixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"firstPrefixAndFirstSuffixResults",
"[",
"this",
".",
"firstPrefixAndFirstSuffixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"else",
"if",
"(",
"isFirstPrefix",
")",
"{",
"int",
"length",
"=",
"this",
".",
"firstPrefixAndSuffixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"firstPrefixAndSuffixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstPrefixAndSuffixResults",
",",
"0",
",",
"this",
".",
"firstPrefixAndSuffixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"firstPrefixAndSuffixResults",
"[",
"this",
".",
"firstPrefixAndSuffixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"else",
"if",
"(",
"isFirstSuffix",
")",
"{",
"int",
"length",
"=",
"this",
".",
"prefixAndFirstSuffixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"prefixAndFirstSuffixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"prefixAndFirstSuffixResults",
",",
"0",
",",
"this",
".",
"prefixAndFirstSuffixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"prefixAndFirstSuffixResults",
"[",
"this",
".",
"prefixAndFirstSuffixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"else",
"{",
"int",
"length",
"=",
"this",
".",
"prefixAndSuffixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"prefixAndSuffixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"prefixAndSuffixResults",
",",
"0",
",",
"this",
".",
"prefixAndSuffixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"prefixAndSuffixResults",
"[",
"this",
".",
"prefixAndSuffixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"}",
"public",
"void",
"acceptNameWithSuffix",
"(",
"char",
"[",
"]",
"name",
",",
"boolean",
"isFirstSuffix",
",",
"int",
"reusedCharacters",
")",
"{",
"if",
"(",
"isFirstSuffix",
")",
"{",
"int",
"length",
"=",
"this",
".",
"firstSuffixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"firstSuffixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstSuffixResults",
",",
"0",
",",
"this",
".",
"firstSuffixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"firstSuffixResults",
"[",
"this",
".",
"firstSuffixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"else",
"{",
"int",
"length",
"=",
"this",
".",
"suffixResults",
".",
"length",
";",
"if",
"(",
"length",
"==",
"this",
".",
"suffixResultsCount",
")",
"{",
"System",
".",
"arraycopy",
"(",
"this",
".",
"suffixResults",
",",
"0",
",",
"this",
".",
"suffixResults",
"=",
"new",
"char",
"[",
"length",
"*",
"2",
"]",
"[",
"]",
",",
"0",
",",
"length",
")",
";",
"}",
"this",
".",
"suffixResults",
"[",
"this",
".",
"suffixResultsCount",
"++",
"]",
"=",
"name",
";",
"}",
"}",
"public",
"char",
"[",
"]",
"[",
"]",
"getResults",
"(",
")",
"{",
"int",
"count",
"=",
"this",
".",
"firstPrefixAndFirstSuffixResultsCount",
"+",
"this",
".",
"firstPrefixAndSuffixResultsCount",
"+",
"this",
".",
"prefixAndFirstSuffixResultsCount",
"+",
"this",
".",
"prefixAndSuffixResultsCount",
"+",
"this",
".",
"firstPrefixResultsCount",
"+",
"this",
".",
"prefixResultsCount",
"+",
"this",
".",
"firstSuffixResultsCount",
"+",
"this",
".",
"suffixResultsCount",
"+",
"this",
".",
"otherResultsCount",
";",
"char",
"[",
"]",
"[",
"]",
"results",
"=",
"new",
"char",
"[",
"count",
"]",
"[",
"]",
";",
"int",
"index",
"=",
"0",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstPrefixAndFirstSuffixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"firstPrefixAndFirstSuffixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"firstPrefixAndFirstSuffixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstPrefixAndSuffixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"firstPrefixAndSuffixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"firstPrefixAndSuffixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"prefixAndFirstSuffixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"prefixAndFirstSuffixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"prefixAndFirstSuffixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"prefixAndSuffixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"prefixAndSuffixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"prefixAndSuffixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstPrefixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"firstPrefixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"firstPrefixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"prefixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"prefixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"prefixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"firstSuffixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"firstSuffixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"firstSuffixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"suffixResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"suffixResultsCount",
")",
";",
"index",
"+=",
"this",
".",
"suffixResultsCount",
";",
"System",
".",
"arraycopy",
"(",
"this",
".",
"otherResults",
",",
"0",
",",
"results",
",",
"index",
",",
"this",
".",
"otherResultsCount",
")",
";",
"return",
"results",
";",
"}",
"}",
"private",
"static",
"final",
"char",
"[",
"]",
"GETTER_BOOL_NAME",
"=",
"\"is\"",
".",
"toCharArray",
"(",
")",
";",
"private",
"static",
"final",
"char",
"[",
"]",
"GETTER_NAME",
"=",
"\"get\"",
".",
"toCharArray",
"(",
")",
";",
"private",
"static",
"final",
"char",
"[",
"]",
"SETTER_NAME",
"=",
"\"set\"",
".",
"toCharArray",
"(",
")",
";",
"public",
"static",
"final",
"int",
"VK_STATIC_FIELD",
"=",
"InternalNamingConventions",
".",
"VK_STATIC_FIELD",
";",
"public",
"static",
"final",
"int",
"VK_INSTANCE_FIELD",
"=",
"InternalNamingConventions",
".",
"VK_INSTANCE_FIELD",
";",
"public",
"static",
"final",
"int",
"VK_STATIC_FINAL_FIELD",
"=",
"InternalNamingConventions",
".",
"VK_STATIC_FINAL_FIELD",
";",
"public",
"static",
"final",
"int",
"VK_PARAMETER",
"=",
"InternalNamingConventions",
".",
"VK_PARAMETER",
";",
"public",
"static",
"final",
"int",
"VK_LOCAL",
"=",
"InternalNamingConventions",
".",
"VK_LOCAL",
";",
"public",
"static",
"final",
"int",
"BK_NAME",
"=",
"InternalNamingConventions",
".",
"BK_SIMPLE_NAME",
";",
"public",
"static",
"final",
"int",
"BK_TYPE_NAME",
"=",
"InternalNamingConventions",
".",
"BK_SIMPLE_TYPE_NAME",
";",
"private",
"static",
"String",
"[",
"]",
"convertCharsToString",
"(",
"char",
"[",
"]",
"[",
"]",
"c",
")",
"{",
"int",
"length",
"=",
"c",
"==",
"null",
"?",
"0",
":",
"c",
".",
"length",
";",
"String",
"[",
"]",
"s",
"=",
"new",
"String",
"[",
"length",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"++",
")",
"{",
"s",
"[",
"i",
"]",
"=",
"String",
".",
"valueOf",
"(",
"c",
"[",
"i",
"]",
")",
";",
"}",
"return",
"s",
";",
"}",
"private",
"static",
"char",
"[",
"]",
"[",
"]",
"convertStringToChars",
"(",
"String",
"[",
"]",
"s",
")",
"{",
"int",
"length",
"=",
"s",
"==",
"null",
"?",
"0",
":",
"s",
".",
"length",
";",
"char",
"[",
"]",
"[",
"]",
"c",
"=",
"new",
"char",
"[",
"length",
"]",
"[",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"++",
")",
"{",
"if",
"(",
"s",
"[",
"i",
"]",
"==",
"null",
")",
"{",
"c",
"[",
"i",
"]",
"=",
"CharOperation",
".",
"NO_CHAR",
";",
"}",
"else",
"{",
"c",
"[",
"i",
"]",
"=",
"s",
"[",
"i",
"]",
".",
"toCharArray",
"(",
")",
";",
"}",
"}",
"return",
"c",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"removePrefixAndSuffixForArgumentName",
"(",
"IJavaProject",
"javaProject",
",",
"char",
"[",
"]",
"argumentName",
")",
"{",
"return",
"InternalNamingConventions",
".",
"removeVariablePrefixAndSuffix",
"(",
"VK_PARAMETER",
",",
"javaProject",
",",
"argumentName",
")",
";",
"}",
"public",
"static",
"String",
"removePrefixAndSuffixForArgumentName",
"(",
"IJavaProject",
"javaProject",
",",
"String",
"argumentName",
")",
"{",
"return",
"String",
".",
"valueOf",
"(",
"removePrefixAndSuffixForArgumentName",
"(",
"javaProject",
",",
"argumentName",
".",
"toCharArray",
"(",
")",
")",
")",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"removePrefixAndSuffixForFieldName",
"(",
"IJavaProject",
"javaProject",
",",
"char",
"[",
"]",
"fieldName",
",",
"int",
"modifiers",
")",
"{",
"return",
"InternalNamingConventions",
".",
"removeVariablePrefixAndSuffix",
"(",
"Flags",
".",
"isStatic",
"(",
"modifiers",
")",
"?",
"VK_STATIC_FIELD",
":",
"VK_INSTANCE_FIELD",
",",
"javaProject",
",",
"fieldName",
")",
";",
"}",
"public",
"static",
"String",
"removePrefixAndSuffixForFieldName",
"(",
"IJavaProject",
"javaProject",
",",
"String",
"fieldName",
",",
"int",
"modifiers",
")",
"{",
"return",
"String",
".",
"valueOf",
"(",
"removePrefixAndSuffixForFieldName",
"(",
"javaProject",
",",
"fieldName",
".",
"toCharArray",
"(",
")",
",",
"modifiers",
")",
")",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"removePrefixAndSuffixForLocalVariableName",
"(",
"IJavaProject",
"javaProject",
",",
"char",
"[",
"]",
"localName",
")",
"{",
"return",
"InternalNamingConventions",
".",
"removeVariablePrefixAndSuffix",
"(",
"VK_LOCAL",
",",
"javaProject",
",",
"localName",
")",
";",
"}",
"public",
"static",
"String",
"removePrefixAndSuffixForLocalVariableName",
"(",
"IJavaProject",
"javaProject",
",",
"String",
"localName",
")",
"{",
"return",
"String",
".",
"valueOf",
"(",
"removePrefixAndSuffixForLocalVariableName",
"(",
"javaProject",
",",
"localName",
".",
"toCharArray",
"(",
")",
")",
")",
";",
"}",
"public",
"static",
"String",
"getBaseName",
"(",
"int",
"variableKind",
",",
"String",
"variableName",
",",
"IJavaProject",
"javaProject",
")",
"{",
"return",
"String",
".",
"valueOf",
"(",
"InternalNamingConventions",
".",
"getBaseName",
"(",
"variableKind",
",",
"javaProject",
",",
"variableName",
".",
"toCharArray",
"(",
")",
",",
"true",
")",
")",
";",
"}",
"private",
"static",
"int",
"getFieldVariableKind",
"(",
"int",
"modifiers",
")",
"{",
"if",
"(",
"Flags",
".",
"isStatic",
"(",
"modifiers",
")",
")",
"{",
"if",
"(",
"Flags",
".",
"isFinal",
"(",
"modifiers",
")",
")",
"{",
"return",
"VK_STATIC_FINAL_FIELD",
";",
"}",
"return",
"VK_STATIC_FIELD",
";",
"}",
"return",
"VK_INSTANCE_FIELD",
";",
"}",
"private",
"static",
"char",
"[",
"]",
"suggestAccessorName",
"(",
"IJavaProject",
"project",
",",
"char",
"[",
"]",
"fieldName",
",",
"int",
"modifiers",
")",
"{",
"char",
"[",
"]",
"name",
"=",
"InternalNamingConventions",
".",
"getBaseName",
"(",
"getFieldVariableKind",
"(",
"modifiers",
")",
",",
"project",
",",
"fieldName",
",",
"false",
")",
";",
"if",
"(",
"name",
".",
"length",
">",
"0",
"&&",
"ScannerHelper",
".",
"isLowerCase",
"(",
"name",
"[",
"0",
"]",
")",
")",
"{",
"if",
"(",
"name",
".",
"length",
"==",
"1",
"||",
"!",
"ScannerHelper",
".",
"isUpperCase",
"(",
"name",
"[",
"1",
"]",
")",
")",
"{",
"name",
"[",
"0",
"]",
"=",
"ScannerHelper",
".",
"toUpperCase",
"(",
"name",
"[",
"0",
"]",
")",
";",
"}",
"}",
"return",
"name",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"[",
"]",
"suggestArgumentNames",
"(",
"IJavaProject",
"javaProject",
",",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"qualifiedTypeName",
",",
"int",
"dim",
",",
"char",
"[",
"]",
"[",
"]",
"excludedNames",
")",
"{",
"if",
"(",
"qualifiedTypeName",
"==",
"null",
"||",
"qualifiedTypeName",
".",
"length",
"==",
"0",
")",
"return",
"CharOperation",
".",
"NO_CHAR_CHAR",
";",
"char",
"[",
"]",
"typeName",
"=",
"CharOperation",
".",
"lastSegment",
"(",
"qualifiedTypeName",
",",
"'.'",
")",
";",
"NamingRequestor",
"requestor",
"=",
"new",
"NamingRequestor",
"(",
")",
";",
"InternalNamingConventions",
".",
"suggestVariableNames",
"(",
"VK_PARAMETER",
",",
"BK_TYPE_NAME",
",",
"typeName",
",",
"javaProject",
",",
"dim",
",",
"null",
",",
"excludedNames",
",",
"true",
",",
"requestor",
")",
";",
"return",
"requestor",
".",
"getResults",
"(",
")",
";",
"}",
"public",
"static",
"String",
"[",
"]",
"suggestArgumentNames",
"(",
"IJavaProject",
"javaProject",
",",
"String",
"packageName",
",",
"String",
"qualifiedTypeName",
",",
"int",
"dim",
",",
"String",
"[",
"]",
"excludedNames",
")",
"{",
"return",
"convertCharsToString",
"(",
"suggestArgumentNames",
"(",
"javaProject",
",",
"packageName",
".",
"toCharArray",
"(",
")",
",",
"qualifiedTypeName",
".",
"toCharArray",
"(",
")",
",",
"dim",
",",
"convertStringToChars",
"(",
"excludedNames",
")",
")",
")",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"[",
"]",
"suggestFieldNames",
"(",
"IJavaProject",
"javaProject",
",",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"qualifiedTypeName",
",",
"int",
"dim",
",",
"int",
"modifiers",
",",
"char",
"[",
"]",
"[",
"]",
"excludedNames",
")",
"{",
"if",
"(",
"qualifiedTypeName",
"==",
"null",
"||",
"qualifiedTypeName",
".",
"length",
"==",
"0",
")",
"return",
"CharOperation",
".",
"NO_CHAR_CHAR",
";",
"char",
"[",
"]",
"typeName",
"=",
"CharOperation",
".",
"lastSegment",
"(",
"qualifiedTypeName",
",",
"'.'",
")",
";",
"NamingRequestor",
"requestor",
"=",
"new",
"NamingRequestor",
"(",
")",
";",
"InternalNamingConventions",
".",
"suggestVariableNames",
"(",
"Flags",
".",
"isStatic",
"(",
"modifiers",
")",
"?",
"VK_STATIC_FIELD",
":",
"VK_INSTANCE_FIELD",
",",
"BK_TYPE_NAME",
",",
"typeName",
",",
"javaProject",
",",
"dim",
",",
"null",
",",
"excludedNames",
",",
"true",
",",
"requestor",
")",
";",
"return",
"requestor",
".",
"getResults",
"(",
")",
";",
"}",
"public",
"static",
"String",
"[",
"]",
"suggestFieldNames",
"(",
"IJavaProject",
"javaProject",
",",
"String",
"packageName",
",",
"String",
"qualifiedTypeName",
",",
"int",
"dim",
",",
"int",
"modifiers",
",",
"String",
"[",
"]",
"excludedNames",
")",
"{",
"return",
"convertCharsToString",
"(",
"suggestFieldNames",
"(",
"javaProject",
",",
"packageName",
".",
"toCharArray",
"(",
")",
",",
"qualifiedTypeName",
".",
"toCharArray",
"(",
")",
",",
"dim",
",",
"modifiers",
",",
"convertStringToChars",
"(",
"excludedNames",
")",
")",
")",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"suggestGetterName",
"(",
"IJavaProject",
"project",
",",
"char",
"[",
"]",
"fieldName",
",",
"int",
"modifiers",
",",
"boolean",
"isBoolean",
",",
"char",
"[",
"]",
"[",
"]",
"excludedNames",
")",
"{",
"if",
"(",
"isBoolean",
")",
"{",
"char",
"[",
"]",
"name",
"=",
"InternalNamingConventions",
".",
"getBaseName",
"(",
"getFieldVariableKind",
"(",
"modifiers",
")",
",",
"project",
",",
"fieldName",
",",
"false",
")",
";",
"int",
"prefixLen",
"=",
"GETTER_BOOL_NAME",
".",
"length",
";",
"if",
"(",
"CharOperation",
".",
"prefixEquals",
"(",
"GETTER_BOOL_NAME",
",",
"name",
")",
"&&",
"name",
".",
"length",
">",
"prefixLen",
"&&",
"ScannerHelper",
".",
"isUpperCase",
"(",
"name",
"[",
"prefixLen",
"]",
")",
")",
"{",
"return",
"suggestNewName",
"(",
"name",
",",
"excludedNames",
")",
";",
"}",
"else",
"{",
"return",
"suggestNewName",
"(",
"CharOperation",
".",
"concat",
"(",
"GETTER_BOOL_NAME",
",",
"suggestAccessorName",
"(",
"project",
",",
"fieldName",
",",
"modifiers",
")",
")",
",",
"excludedNames",
")",
";",
"}",
"}",
"else",
"{",
"return",
"suggestNewName",
"(",
"CharOperation",
".",
"concat",
"(",
"GETTER_NAME",
",",
"suggestAccessorName",
"(",
"project",
",",
"fieldName",
",",
"modifiers",
")",
")",
",",
"excludedNames",
")",
";",
"}",
"}",
"public",
"static",
"String",
"suggestGetterName",
"(",
"IJavaProject",
"project",
",",
"String",
"fieldName",
",",
"int",
"modifiers",
",",
"boolean",
"isBoolean",
",",
"String",
"[",
"]",
"excludedNames",
")",
"{",
"return",
"String",
".",
"valueOf",
"(",
"suggestGetterName",
"(",
"project",
",",
"fieldName",
".",
"toCharArray",
"(",
")",
",",
"modifiers",
",",
"isBoolean",
",",
"convertStringToChars",
"(",
"excludedNames",
")",
")",
")",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"[",
"]",
"suggestLocalVariableNames",
"(",
"IJavaProject",
"javaProject",
",",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"qualifiedTypeName",
",",
"int",
"dim",
",",
"char",
"[",
"]",
"[",
"]",
"excludedNames",
")",
"{",
"if",
"(",
"qualifiedTypeName",
"==",
"null",
"||",
"qualifiedTypeName",
".",
"length",
"==",
"0",
")",
"return",
"CharOperation",
".",
"NO_CHAR_CHAR",
";",
"char",
"[",
"]",
"typeName",
"=",
"CharOperation",
".",
"lastSegment",
"(",
"qualifiedTypeName",
",",
"'.'",
")",
";",
"NamingRequestor",
"requestor",
"=",
"new",
"NamingRequestor",
"(",
")",
";",
"InternalNamingConventions",
".",
"suggestVariableNames",
"(",
"VK_LOCAL",
",",
"BK_TYPE_NAME",
",",
"typeName",
",",
"javaProject",
",",
"dim",
",",
"null",
",",
"excludedNames",
",",
"true",
",",
"requestor",
")",
";",
"return",
"requestor",
".",
"getResults",
"(",
")",
";",
"}",
"public",
"static",
"String",
"[",
"]",
"suggestLocalVariableNames",
"(",
"IJavaProject",
"javaProject",
",",
"String",
"packageName",
",",
"String",
"qualifiedTypeName",
",",
"int",
"dim",
",",
"String",
"[",
"]",
"excludedNames",
")",
"{",
"return",
"convertCharsToString",
"(",
"suggestLocalVariableNames",
"(",
"javaProject",
",",
"packageName",
".",
"toCharArray",
"(",
")",
",",
"qualifiedTypeName",
".",
"toCharArray",
"(",
")",
",",
"dim",
",",
"convertStringToChars",
"(",
"excludedNames",
")",
")",
")",
";",
"}",
"private",
"static",
"char",
"[",
"]",
"suggestNewName",
"(",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"[",
"]",
"excludedNames",
")",
"{",
"if",
"(",
"excludedNames",
"==",
"null",
")",
"{",
"return",
"name",
";",
"}",
"char",
"[",
"]",
"newName",
"=",
"name",
";",
"int",
"count",
"=",
"2",
";",
"int",
"i",
"=",
"0",
";",
"while",
"(",
"i",
"<",
"excludedNames",
".",
"length",
")",
"{",
"if",
"(",
"CharOperation",
".",
"equals",
"(",
"newName",
",",
"excludedNames",
"[",
"i",
"]",
",",
"false",
")",
")",
"{",
"newName",
"=",
"CharOperation",
".",
"concat",
"(",
"name",
",",
"String",
".",
"valueOf",
"(",
"count",
"++",
")",
".",
"toCharArray",
"(",
")",
")",
";",
"i",
"=",
"0",
";",
"}",
"else",
"{",
"i",
"++",
";",
"}",
"}",
"return",
"newName",
";",
"}",
"public",
"static",
"char",
"[",
"]",
"suggestSetterName",
"(",
"IJavaProject",
"project",
",",
"char",
"[",
"]",
"fieldName",
",",
"int",
"modifiers",
",",
"boolean",
"isBoolean",
",",
"char",
"[",
"]",
"[",
"]",
"excludedNames",
")",
"{",
"if",
"(",
"isBoolean",
")",
"{",
"char",
"[",
"]",
"name",
"=",
"InternalNamingConventions",
".",
"getBaseName",
"(",
"getFieldVariableKind",
"(",
"modifiers",
")",
",",
"project",
",",
"fieldName",
",",
"false",
")",
";",
"int",
"prefixLen",
"=",
"GETTER_BOOL_NAME",
".",
"length",
";",
"if",
"(",
"CharOperation",
".",
"prefixEquals",
"(",
"GETTER_BOOL_NAME",
",",
"name",
")",
"&&",
"name",
".",
"length",
">",
"prefixLen",
"&&",
"ScannerHelper",
".",
"isUpperCase",
"(",
"name",
"[",
"prefixLen",
"]",
")",
")",
"{",
"name",
"=",
"CharOperation",
".",
"subarray",
"(",
"name",
",",
"prefixLen",
",",
"name",
".",
"length",
")",
";",
"return",
"suggestNewName",
"(",
"CharOperation",
".",
"concat",
"(",
"SETTER_NAME",
",",
"suggestAccessorName",
"(",
"project",
",",
"name",
",",
"modifiers",
")",
")",
",",
"excludedNames",
")",
";",
"}",
"else",
"{",
"return",
"suggestNewName",
"(",
"CharOperation",
".",
"concat",
"(",
"SETTER_NAME",
",",
"suggestAccessorName",
"(",
"project",
",",
"fieldName",
",",
"modifiers",
")",
")",
",",
"excludedNames",
")",
";",
"}",
"}",
"else",
"{",
"return",
"suggestNewName",
"(",
"CharOperation",
".",
"concat",
"(",
"SETTER_NAME",
",",
"suggestAccessorName",
"(",
"project",
",",
"fieldName",
",",
"modifiers",
")",
")",
",",
"excludedNames",
")",
";",
"}",
"}",
"public",
"static",
"String",
"suggestSetterName",
"(",
"IJavaProject",
"project",
",",
"String",
"fieldName",
",",
"int",
"modifiers",
",",
"boolean",
"isBoolean",
",",
"String",
"[",
"]",
"excludedNames",
")",
"{",
"return",
"String",
".",
"valueOf",
"(",
"suggestSetterName",
"(",
"project",
",",
"fieldName",
".",
"toCharArray",
"(",
")",
",",
"modifiers",
",",
"isBoolean",
",",
"convertStringToChars",
"(",
"excludedNames",
")",
")",
")",
";",
"}",
"public",
"static",
"String",
"[",
"]",
"suggestVariableNames",
"(",
"int",
"variableKind",
",",
"int",
"baseNameKind",
",",
"String",
"baseName",
",",
"IJavaProject",
"javaProject",
",",
"int",
"dim",
",",
"String",
"[",
"]",
"excluded",
",",
"boolean",
"evaluateDefault",
")",
"{",
"NamingRequestor",
"requestor",
"=",
"new",
"NamingRequestor",
"(",
")",
";",
"InternalNamingConventions",
".",
"suggestVariableNames",
"(",
"variableKind",
",",
"baseNameKind",
",",
"baseName",
".",
"toCharArray",
"(",
")",
",",
"javaProject",
",",
"dim",
",",
"null",
",",
"convertStringToChars",
"(",
"excluded",
")",
",",
"evaluateDefault",
",",
"requestor",
")",
";",
"return",
"convertCharsToString",
"(",
"requestor",
".",
"getResults",
"(",
")",
")",
";",
"}",
"private",
"NamingConventions",
"(",
")",
"{",
"}",
"}",
"</s>"
] |
3,020 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IRuntimeVisibleAnnotationsAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getAnnotationsNumber",
"(",
")",
";",
"IAnnotation",
"[",
"]",
"getAnnotations",
"(",
")",
";",
"}",
"</s>"
] |
3,021 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IConstantPoolConstant",
"{",
"int",
"CONSTANT_Class",
"=",
"7",
";",
"int",
"CONSTANT_Fieldref",
"=",
"9",
";",
"int",
"CONSTANT_Methodref",
"=",
"10",
";",
"int",
"CONSTANT_InterfaceMethodref",
"=",
"11",
";",
"int",
"CONSTANT_String",
"=",
"8",
";",
"int",
"CONSTANT_Integer",
"=",
"3",
";",
"int",
"CONSTANT_Float",
"=",
"4",
";",
"int",
"CONSTANT_Long",
"=",
"5",
";",
"int",
"CONSTANT_Double",
"=",
"6",
";",
"int",
"CONSTANT_NameAndType",
"=",
"12",
";",
"int",
"CONSTANT_Utf8",
"=",
"1",
";",
"int",
"CONSTANT_MethodHandle",
"=",
"15",
";",
"int",
"CONSTANT_MethodType",
"=",
"16",
";",
"int",
"CONSTANT_InvokeDynamic",
"=",
"18",
";",
"int",
"CONSTANT_Methodref_SIZE",
"=",
"5",
";",
"int",
"CONSTANT_Class_SIZE",
"=",
"3",
";",
"int",
"CONSTANT_Double_SIZE",
"=",
"9",
";",
"int",
"CONSTANT_Fieldref_SIZE",
"=",
"5",
";",
"int",
"CONSTANT_Float_SIZE",
"=",
"5",
";",
"int",
"CONSTANT_Integer_SIZE",
"=",
"5",
";",
"int",
"CONSTANT_InterfaceMethodref_SIZE",
"=",
"5",
";",
"int",
"CONSTANT_Long_SIZE",
"=",
"9",
";",
"int",
"CONSTANT_String_SIZE",
"=",
"3",
";",
"int",
"CONSTANT_Utf8_SIZE",
"=",
"3",
";",
"int",
"CONSTANT_NameAndType_SIZE",
"=",
"5",
";",
"int",
"CONSTANT_MethodHandle_SIZE",
"=",
"4",
";",
"int",
"CONSTANT_MethodType_SIZE",
"=",
"3",
";",
"int",
"CONSTANT_InvokeDynamic_SIZE",
"=",
"5",
";",
"int",
"METHOD_TYPE_REF_GetField",
"=",
"1",
";",
"int",
"METHOD_TYPE_REF_GetStatic",
"=",
"2",
";",
"int",
"METHOD_TYPE_REF_PutField",
"=",
"3",
";",
"int",
"METHOD_TYPE_REF_PutStatic",
"=",
"4",
";",
"int",
"METHOD_TYPE_REF_InvokeVirtual",
"=",
"5",
";",
"int",
"METHOD_TYPE_REF_InvokeStatic",
"=",
"6",
";",
"int",
"METHOD_TYPE_REF_InvokeSpecial",
"=",
"7",
";",
"int",
"METHOD_TYPE_REF_NewInvokeSpecial",
"=",
"8",
";",
"int",
"METHOD_TYPE_REF_InvokeInterface",
"=",
"9",
";",
"}",
"</s>"
] |
3,022 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IInnerClassesAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getNumberOfClasses",
"(",
")",
";",
"IInnerClassesAttributeEntry",
"[",
"]",
"getInnerClassAttributesEntries",
"(",
")",
";",
"}",
"</s>"
] |
3,023 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ISignatureAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getSignatureIndex",
"(",
")",
";",
"char",
"[",
"]",
"getSignature",
"(",
")",
";",
"}",
"</s>"
] |
3,024 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IStackMapFrame",
"{",
"int",
"getFrameType",
"(",
")",
";",
"int",
"getOffsetDelta",
"(",
")",
";",
"int",
"getNumberOfLocals",
"(",
")",
";",
"IVerificationTypeInfo",
"[",
"]",
"getLocals",
"(",
")",
";",
"int",
"getNumberOfStackItems",
"(",
")",
";",
"IVerificationTypeInfo",
"[",
"]",
"getStackItems",
"(",
")",
";",
"}",
"</s>"
] |
3,025 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IAnnotationDefaultAttribute",
"extends",
"IClassFileAttribute",
"{",
"IAnnotationComponentValue",
"getMemberValue",
"(",
")",
";",
"}",
"</s>"
] |
3,026 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"class",
"ClassFormatException",
"extends",
"Exception",
"{",
"public",
"static",
"final",
"int",
"ERROR_MALFORMED_UTF8",
"=",
"1",
";",
"public",
"static",
"final",
"int",
"ERROR_TRUNCATED_INPUT",
"=",
"2",
";",
"public",
"static",
"final",
"int",
"INVALID_CONSTANT_POOL_ENTRY",
"=",
"3",
";",
"public",
"static",
"final",
"int",
"TOO_MANY_BYTES",
"=",
"4",
";",
"public",
"static",
"final",
"int",
"INVALID_ARGUMENTS_FOR_INVOKEINTERFACE",
"=",
"5",
";",
"public",
"static",
"final",
"int",
"INVALID_BYTECODE",
"=",
"6",
";",
"public",
"static",
"final",
"int",
"INVALID_TAG_CONSTANT",
"=",
"7",
";",
"public",
"static",
"final",
"int",
"INVALID_MAGIC_NUMBER",
"=",
"8",
";",
"private",
"static",
"final",
"long",
"serialVersionUID",
"=",
"6582900558320612988L",
";",
"public",
"ClassFormatException",
"(",
"int",
"errorID",
")",
"{",
"}",
"public",
"ClassFormatException",
"(",
"String",
"message",
")",
"{",
"super",
"(",
"message",
")",
";",
"}",
"public",
"ClassFormatException",
"(",
"String",
"message",
",",
"Throwable",
"cause",
")",
"{",
"super",
"(",
"message",
",",
"cause",
")",
";",
"}",
"}",
"</s>"
] |
3,027 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"abstract",
"class",
"ClassFileBytesDisassembler",
"{",
"public",
"final",
"static",
"int",
"DETAILED",
"=",
"1",
";",
"public",
"final",
"static",
"int",
"DEFAULT",
"=",
"2",
";",
"public",
"final",
"static",
"int",
"SYSTEM",
"=",
"4",
";",
"public",
"final",
"static",
"int",
"COMPACT",
"=",
"8",
";",
"public",
"final",
"static",
"int",
"WORKING_COPY",
"=",
"16",
";",
"public",
"abstract",
"String",
"disassemble",
"(",
"byte",
"[",
"]",
"classFileBytes",
",",
"String",
"lineSeparator",
")",
"throws",
"ClassFormatException",
";",
"public",
"abstract",
"String",
"disassemble",
"(",
"byte",
"[",
"]",
"classFileBytes",
",",
"String",
"lineSeparator",
",",
"int",
"mode",
")",
"throws",
"ClassFormatException",
";",
"public",
"abstract",
"String",
"getDescription",
"(",
")",
";",
"}",
"</s>"
] |
3,028 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IConstantPool",
"{",
"int",
"getConstantPoolCount",
"(",
")",
";",
"int",
"getEntryKind",
"(",
"int",
"index",
")",
";",
"IConstantPoolEntry",
"decodeEntry",
"(",
"int",
"index",
")",
";",
"}",
"</s>"
] |
3,029 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IAnnotation",
"{",
"int",
"getTypeIndex",
"(",
")",
";",
"char",
"[",
"]",
"getTypeName",
"(",
")",
";",
"int",
"getComponentsNumber",
"(",
")",
";",
"IAnnotationComponent",
"[",
"]",
"getComponents",
"(",
")",
";",
"}",
"</s>"
] |
3,030 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IFieldInfo",
"{",
"IConstantValueAttribute",
"getConstantValueAttribute",
"(",
")",
";",
"int",
"getAccessFlags",
"(",
")",
";",
"char",
"[",
"]",
"getName",
"(",
")",
";",
"int",
"getNameIndex",
"(",
")",
";",
"char",
"[",
"]",
"getDescriptor",
"(",
")",
";",
"int",
"getDescriptorIndex",
"(",
")",
";",
"boolean",
"hasConstantValueAttribute",
"(",
")",
";",
"boolean",
"isSynthetic",
"(",
")",
";",
"boolean",
"isDeprecated",
"(",
")",
";",
"int",
"getAttributeCount",
"(",
")",
";",
"IClassFileAttribute",
"[",
"]",
"getAttributes",
"(",
")",
";",
"}",
"</s>"
] |
3,031 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IConstantValueAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getConstantValueIndex",
"(",
")",
";",
"IConstantPoolEntry",
"getConstantValue",
"(",
")",
";",
"}",
"</s>"
] |
3,032 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IBootstrapMethodsEntry",
"{",
"int",
"getBootstrapMethodReference",
"(",
")",
";",
"int",
"[",
"]",
"getBootstrapArguments",
"(",
")",
";",
"}",
"</s>"
] |
3,033 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IAnnotationComponent",
"{",
"int",
"getComponentNameIndex",
"(",
")",
";",
"char",
"[",
"]",
"getComponentName",
"(",
")",
";",
"IAnnotationComponentValue",
"getComponentValue",
"(",
")",
";",
"}",
"</s>"
] |
3,034 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IParameterAnnotation",
"{",
"int",
"getAnnotationsNumber",
"(",
")",
";",
"IAnnotation",
"[",
"]",
"getAnnotations",
"(",
")",
";",
"}",
"</s>"
] |
3,035 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IEnclosingMethodAttribute",
"extends",
"IClassFileAttribute",
"{",
"char",
"[",
"]",
"getEnclosingClass",
"(",
")",
";",
"int",
"getEnclosingClassIndex",
"(",
")",
";",
"char",
"[",
"]",
"getMethodDescriptor",
"(",
")",
";",
"int",
"getMethodDescriptorIndex",
"(",
")",
";",
"char",
"[",
"]",
"getMethodName",
"(",
")",
";",
"int",
"getMethodNameIndex",
"(",
")",
";",
"int",
"getMethodNameAndTypeIndex",
"(",
")",
";",
"}",
"</s>"
] |
3,036 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IClassFileReader",
"{",
"int",
"ALL",
"=",
"0xFFFF",
";",
"int",
"CONSTANT_POOL",
"=",
"0x0001",
";",
"int",
"METHOD_INFOS",
"=",
"0x0002",
"+",
"CONSTANT_POOL",
";",
"int",
"FIELD_INFOS",
"=",
"0x0004",
"+",
"CONSTANT_POOL",
";",
"int",
"SUPER_INTERFACES",
"=",
"0x0008",
"+",
"CONSTANT_POOL",
";",
"int",
"CLASSFILE_ATTRIBUTES",
"=",
"0x0010",
"+",
"CONSTANT_POOL",
";",
"int",
"METHOD_BODIES",
"=",
"0x0020",
";",
"int",
"ALL_BUT_METHOD_BODIES",
"=",
"ALL",
"&",
"~",
"METHOD_BODIES",
";",
"int",
"getAccessFlags",
"(",
")",
";",
"IFieldInfo",
"[",
"]",
"getFieldInfos",
"(",
")",
";",
"char",
"[",
"]",
"[",
"]",
"getInterfaceNames",
"(",
")",
";",
"int",
"[",
"]",
"getInterfaceIndexes",
"(",
")",
";",
"IInnerClassesAttribute",
"getInnerClassesAttribute",
"(",
")",
";",
"IMethodInfo",
"[",
"]",
"getMethodInfos",
"(",
")",
";",
"char",
"[",
"]",
"getClassName",
"(",
")",
";",
"int",
"getClassIndex",
"(",
")",
";",
"char",
"[",
"]",
"getSuperclassName",
"(",
")",
";",
"int",
"getSuperclassIndex",
"(",
")",
";",
"boolean",
"isClass",
"(",
")",
";",
"boolean",
"isInterface",
"(",
")",
";",
"ISourceAttribute",
"getSourceFileAttribute",
"(",
")",
";",
"IConstantPool",
"getConstantPool",
"(",
")",
";",
"int",
"getMinorVersion",
"(",
")",
";",
"int",
"getMajorVersion",
"(",
")",
";",
"int",
"getAttributeCount",
"(",
")",
";",
"IClassFileAttribute",
"[",
"]",
"getAttributes",
"(",
")",
";",
"int",
"getMagic",
"(",
")",
";",
"int",
"getFieldsCount",
"(",
")",
";",
"int",
"getMethodsCount",
"(",
")",
";",
"}",
"</s>"
] |
3,037 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IExceptionAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getExceptionsNumber",
"(",
")",
";",
"char",
"[",
"]",
"[",
"]",
"getExceptionNames",
"(",
")",
";",
"int",
"[",
"]",
"getExceptionIndexes",
"(",
")",
";",
"}",
"</s>"
] |
3,038 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ILocalVariableTableEntry",
"{",
"int",
"getStartPC",
"(",
")",
";",
"int",
"getLength",
"(",
")",
";",
"int",
"getNameIndex",
"(",
")",
";",
"int",
"getDescriptorIndex",
"(",
")",
";",
"int",
"getIndex",
"(",
")",
";",
"char",
"[",
"]",
"getName",
"(",
")",
";",
"char",
"[",
"]",
"getDescriptor",
"(",
")",
";",
"}",
"</s>"
] |
3,039 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ILocalVariableTypeTableEntry",
"{",
"int",
"getStartPC",
"(",
")",
";",
"int",
"getLength",
"(",
")",
";",
"int",
"getNameIndex",
"(",
")",
";",
"int",
"getSignatureIndex",
"(",
")",
";",
"int",
"getIndex",
"(",
")",
";",
"char",
"[",
"]",
"getName",
"(",
")",
";",
"char",
"[",
"]",
"getSignature",
"(",
")",
";",
"}",
"</s>"
] |
3,040 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IRuntimeVisibleParameterAnnotationsAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getParametersNumber",
"(",
")",
";",
"IParameterAnnotation",
"[",
"]",
"getParameterAnnotations",
"(",
")",
";",
"}",
"</s>"
] |
3,041 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"import",
"java",
".",
"util",
".",
"Comparator",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"ICompilationUnit",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"IJavaElement",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"JavaModelException",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"AST",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"CompilationUnit",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"SortElementsOperation",
";",
"import",
"org",
".",
"eclipse",
".",
"text",
".",
"edits",
".",
"TextEdit",
";",
"import",
"org",
".",
"eclipse",
".",
"text",
".",
"edits",
".",
"TextEditGroup",
";",
"public",
"final",
"class",
"CompilationUnitSorter",
"{",
"private",
"CompilationUnitSorter",
"(",
")",
"{",
"}",
"private",
"static",
"void",
"checkASTLevel",
"(",
"int",
"level",
")",
"{",
"switch",
"(",
"level",
")",
"{",
"case",
"AST",
".",
"JLS2",
":",
"case",
"AST",
".",
"JLS3",
":",
"case",
"AST",
".",
"JLS4",
":",
"break",
";",
"default",
":",
"throw",
"new",
"IllegalArgumentException",
"(",
")",
";",
"}",
"}",
"public",
"static",
"final",
"String",
"RELATIVE_ORDER",
"=",
"\"\"",
";",
"public",
"static",
"void",
"sort",
"(",
"ICompilationUnit",
"compilationUnit",
",",
"int",
"[",
"]",
"positions",
",",
"Comparator",
"comparator",
",",
"int",
"options",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
"{",
"sort",
"(",
"AST",
".",
"JLS2",
",",
"compilationUnit",
",",
"positions",
",",
"comparator",
",",
"options",
",",
"monitor",
")",
";",
"}",
"public",
"static",
"void",
"sort",
"(",
"int",
"level",
",",
"ICompilationUnit",
"compilationUnit",
",",
"int",
"[",
"]",
"positions",
",",
"Comparator",
"comparator",
",",
"int",
"options",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
"{",
"if",
"(",
"compilationUnit",
"==",
"null",
"||",
"comparator",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
")",
";",
"}",
"checkASTLevel",
"(",
"level",
")",
";",
"ICompilationUnit",
"[",
"]",
"compilationUnits",
"=",
"new",
"ICompilationUnit",
"[",
"]",
"{",
"compilationUnit",
"}",
";",
"SortElementsOperation",
"operation",
"=",
"new",
"SortElementsOperation",
"(",
"level",
",",
"compilationUnits",
",",
"positions",
",",
"comparator",
")",
";",
"operation",
".",
"runOperation",
"(",
"monitor",
")",
";",
"}",
"public",
"static",
"TextEdit",
"sort",
"(",
"CompilationUnit",
"unit",
",",
"Comparator",
"comparator",
",",
"int",
"options",
",",
"TextEditGroup",
"group",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
"{",
"if",
"(",
"unit",
"==",
"null",
"||",
"comparator",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
")",
";",
"}",
"SortElementsOperation",
"operation",
"=",
"new",
"SortElementsOperation",
"(",
"AST",
".",
"JLS4",
",",
"new",
"IJavaElement",
"[",
"]",
"{",
"unit",
".",
"getJavaElement",
"(",
")",
"}",
",",
"null",
",",
"comparator",
")",
";",
"return",
"operation",
".",
"calculateEdit",
"(",
"unit",
",",
"group",
")",
";",
"}",
"}",
"</s>"
] |
3,042 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ICodeAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getMaxLocals",
"(",
")",
";",
"int",
"getMaxStack",
"(",
")",
";",
"ILineNumberAttribute",
"getLineNumberAttribute",
"(",
")",
";",
"ILocalVariableAttribute",
"getLocalVariableAttribute",
"(",
")",
";",
"IExceptionTableEntry",
"[",
"]",
"getExceptionTable",
"(",
")",
";",
"byte",
"[",
"]",
"getBytecodes",
"(",
")",
";",
"long",
"getCodeLength",
"(",
")",
";",
"int",
"getAttributesCount",
"(",
")",
";",
"IClassFileAttribute",
"[",
"]",
"getAttributes",
"(",
")",
";",
"int",
"getExceptionTableLength",
"(",
")",
";",
"void",
"traverse",
"(",
"IBytecodeVisitor",
"visitor",
")",
"throws",
"ClassFormatException",
";",
"}",
"</s>"
] |
3,043 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ILocalVariableAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getLocalVariableTableLength",
"(",
")",
";",
"ILocalVariableTableEntry",
"[",
"]",
"getLocalVariableTable",
"(",
")",
";",
"}",
"</s>"
] |
3,044 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IOpcodeMnemonics",
"{",
"int",
"NOP",
"=",
"0x00",
";",
"int",
"ACONST_NULL",
"=",
"0x01",
";",
"int",
"ICONST_M1",
"=",
"0x02",
";",
"int",
"ICONST_0",
"=",
"0x03",
";",
"int",
"ICONST_1",
"=",
"0x04",
";",
"int",
"ICONST_2",
"=",
"0x05",
";",
"int",
"ICONST_3",
"=",
"0x06",
";",
"int",
"ICONST_4",
"=",
"0x07",
";",
"int",
"ICONST_5",
"=",
"0x08",
";",
"int",
"LCONST_0",
"=",
"0x09",
";",
"int",
"LCONST_1",
"=",
"0x0A",
";",
"int",
"FCONST_0",
"=",
"0x0B",
";",
"int",
"FCONST_1",
"=",
"0x0C",
";",
"int",
"FCONST_2",
"=",
"0x0D",
";",
"int",
"DCONST_0",
"=",
"0x0E",
";",
"int",
"DCONST_1",
"=",
"0x0F",
";",
"int",
"BIPUSH",
"=",
"0x10",
";",
"int",
"SIPUSH",
"=",
"0x11",
";",
"int",
"LDC",
"=",
"0x12",
";",
"int",
"LDC_W",
"=",
"0x13",
";",
"int",
"LDC2_W",
"=",
"0x14",
";",
"int",
"ILOAD",
"=",
"0x15",
";",
"int",
"LLOAD",
"=",
"0x16",
";",
"int",
"FLOAD",
"=",
"0x17",
";",
"int",
"DLOAD",
"=",
"0x18",
";",
"int",
"ALOAD",
"=",
"0x19",
";",
"int",
"ILOAD_0",
"=",
"0x1A",
";",
"int",
"ILOAD_1",
"=",
"0x1B",
";",
"int",
"ILOAD_2",
"=",
"0x1C",
";",
"int",
"ILOAD_3",
"=",
"0x1D",
";",
"int",
"LLOAD_0",
"=",
"0x1E",
";",
"int",
"LLOAD_1",
"=",
"0x1F",
";",
"int",
"LLOAD_2",
"=",
"0x20",
";",
"int",
"LLOAD_3",
"=",
"0x21",
";",
"int",
"FLOAD_0",
"=",
"0x22",
";",
"int",
"FLOAD_1",
"=",
"0x23",
";",
"int",
"FLOAD_2",
"=",
"0x24",
";",
"int",
"FLOAD_3",
"=",
"0x25",
";",
"int",
"DLOAD_0",
"=",
"0x26",
";",
"int",
"DLOAD_1",
"=",
"0x27",
";",
"int",
"DLOAD_2",
"=",
"0x28",
";",
"int",
"DLOAD_3",
"=",
"0x29",
";",
"int",
"ALOAD_0",
"=",
"0x2A",
";",
"int",
"ALOAD_1",
"=",
"0x2B",
";",
"int",
"ALOAD_2",
"=",
"0x2C",
";",
"int",
"ALOAD_3",
"=",
"0x2D",
";",
"int",
"IALOAD",
"=",
"0x2E",
";",
"int",
"LALOAD",
"=",
"0x2F",
";",
"int",
"FALOAD",
"=",
"0x30",
";",
"int",
"DALOAD",
"=",
"0x31",
";",
"int",
"AALOAD",
"=",
"0x32",
";",
"int",
"BALOAD",
"=",
"0x33",
";",
"int",
"CALOAD",
"=",
"0x34",
";",
"int",
"SALOAD",
"=",
"0x35",
";",
"int",
"ISTORE",
"=",
"0x36",
";",
"int",
"LSTORE",
"=",
"0x37",
";",
"int",
"FSTORE",
"=",
"0x38",
";",
"int",
"DSTORE",
"=",
"0x39",
";",
"int",
"ASTORE",
"=",
"0x3A",
";",
"int",
"ISTORE_0",
"=",
"0x3B",
";",
"int",
"ISTORE_1",
"=",
"0x3C",
";",
"int",
"ISTORE_2",
"=",
"0x3D",
";",
"int",
"ISTORE_3",
"=",
"0x3E",
";",
"int",
"LSTORE_0",
"=",
"0x3F",
";",
"int",
"LSTORE_1",
"=",
"0x40",
";",
"int",
"LSTORE_2",
"=",
"0x41",
";",
"int",
"LSTORE_3",
"=",
"0x42",
";",
"int",
"FSTORE_0",
"=",
"0x43",
";",
"int",
"FSTORE_1",
"=",
"0x44",
";",
"int",
"FSTORE_2",
"=",
"0x45",
";",
"int",
"FSTORE_3",
"=",
"0x46",
";",
"int",
"DSTORE_0",
"=",
"0x47",
";",
"int",
"DSTORE_1",
"=",
"0x48",
";",
"int",
"DSTORE_2",
"=",
"0x49",
";",
"int",
"DSTORE_3",
"=",
"0x4A",
";",
"int",
"ASTORE_0",
"=",
"0x4B",
";",
"int",
"ASTORE_1",
"=",
"0x4C",
";",
"int",
"ASTORE_2",
"=",
"0x4D",
";",
"int",
"ASTORE_3",
"=",
"0x4E",
";",
"int",
"IASTORE",
"=",
"0x4F",
";",
"int",
"LASTORE",
"=",
"0x50",
";",
"int",
"FASTORE",
"=",
"0x51",
";",
"int",
"DASTORE",
"=",
"0x52",
";",
"int",
"AASTORE",
"=",
"0x53",
";",
"int",
"BASTORE",
"=",
"0x54",
";",
"int",
"CASTORE",
"=",
"0x55",
";",
"int",
"SASTORE",
"=",
"0x56",
";",
"int",
"POP",
"=",
"0x57",
";",
"int",
"POP2",
"=",
"0x58",
";",
"int",
"DUP",
"=",
"0x59",
";",
"int",
"DUP_X1",
"=",
"0x5A",
";",
"int",
"DUP_X2",
"=",
"0x5B",
";",
"int",
"DUP2",
"=",
"0x5C",
";",
"int",
"DUP2_X1",
"=",
"0x5D",
";",
"int",
"DUP2_X2",
"=",
"0x5E",
";",
"int",
"SWAP",
"=",
"0x5F",
";",
"int",
"IADD",
"=",
"0x60",
";",
"int",
"LADD",
"=",
"0x61",
";",
"int",
"FADD",
"=",
"0x62",
";",
"int",
"DADD",
"=",
"0x63",
";",
"int",
"ISUB",
"=",
"0x64",
";",
"int",
"LSUB",
"=",
"0x65",
";",
"int",
"FSUB",
"=",
"0x66",
";",
"int",
"DSUB",
"=",
"0x67",
";",
"int",
"IMUL",
"=",
"0x68",
";",
"int",
"LMUL",
"=",
"0x69",
";",
"int",
"FMUL",
"=",
"0x6A",
";",
"int",
"DMUL",
"=",
"0x6B",
";",
"int",
"IDIV",
"=",
"0x6C",
";",
"int",
"LDIV",
"=",
"0x6D",
";",
"int",
"FDIV",
"=",
"0x6E",
";",
"int",
"DDIV",
"=",
"0x6F",
";",
"int",
"IREM",
"=",
"0x70",
";",
"int",
"LREM",
"=",
"0x71",
";",
"int",
"FREM",
"=",
"0x72",
";",
"int",
"DREM",
"=",
"0x73",
";",
"int",
"INEG",
"=",
"0x74",
";",
"int",
"LNEG",
"=",
"0x75",
";",
"int",
"FNEG",
"=",
"0x76",
";",
"int",
"DNEG",
"=",
"0x77",
";",
"int",
"ISHL",
"=",
"0x78",
";",
"int",
"LSHL",
"=",
"0x79",
";",
"int",
"ISHR",
"=",
"0x7A",
";",
"int",
"LSHR",
"=",
"0x7B",
";",
"int",
"IUSHR",
"=",
"0x7C",
";",
"int",
"LUSHR",
"=",
"0x7D",
";",
"int",
"IAND",
"=",
"0x7E",
";",
"int",
"LAND",
"=",
"0x7F",
";",
"int",
"IOR",
"=",
"0x80",
";",
"int",
"LOR",
"=",
"0x81",
";",
"int",
"IXOR",
"=",
"0x82",
";",
"int",
"LXOR",
"=",
"0x83",
";",
"int",
"IINC",
"=",
"0x84",
";",
"int",
"I2L",
"=",
"0x85",
";",
"int",
"I2F",
"=",
"0x86",
";",
"int",
"I2D",
"=",
"0x87",
";",
"int",
"L2I",
"=",
"0x88",
";",
"int",
"L2F",
"=",
"0x89",
";",
"int",
"L2D",
"=",
"0x8A",
";",
"int",
"F2I",
"=",
"0x8B",
";",
"int",
"F2L",
"=",
"0x8C",
";",
"int",
"F2D",
"=",
"0x8D",
";",
"int",
"D2I",
"=",
"0x8E",
";",
"int",
"D2L",
"=",
"0x8F",
";",
"int",
"D2F",
"=",
"0x90",
";",
"int",
"I2B",
"=",
"0x91",
";",
"int",
"I2C",
"=",
"0x92",
";",
"int",
"I2S",
"=",
"0x93",
";",
"int",
"LCMP",
"=",
"0x94",
";",
"int",
"FCMPL",
"=",
"0x95",
";",
"int",
"FCMPG",
"=",
"0x96",
";",
"int",
"DCMPL",
"=",
"0x97",
";",
"int",
"DCMPG",
"=",
"0x98",
";",
"int",
"IFEQ",
"=",
"0x99",
";",
"int",
"IFNE",
"=",
"0x9A",
";",
"int",
"IFLT",
"=",
"0x9B",
";",
"int",
"IFGE",
"=",
"0x9C",
";",
"int",
"IFGT",
"=",
"0x9D",
";",
"int",
"IFLE",
"=",
"0x9E",
";",
"int",
"IF_ICMPEQ",
"=",
"0x9F",
";",
"int",
"IF_ICMPNE",
"=",
"0xA0",
";",
"int",
"IF_ICMPLT",
"=",
"0xA1",
";",
"int",
"IF_ICMPGE",
"=",
"0xA2",
";",
"int",
"IF_ICMPGT",
"=",
"0xA3",
";",
"int",
"IF_ICMPLE",
"=",
"0xA4",
";",
"int",
"IF_ACMPEQ",
"=",
"0xA5",
";",
"int",
"IF_ACMPNE",
"=",
"0xA6",
";",
"int",
"GOTO",
"=",
"0xA7",
";",
"int",
"JSR",
"=",
"0xA8",
";",
"int",
"RET",
"=",
"0xA9",
";",
"int",
"TABLESWITCH",
"=",
"0xAA",
";",
"int",
"LOOKUPSWITCH",
"=",
"0xAB",
";",
"int",
"IRETURN",
"=",
"0xAC",
";",
"int",
"LRETURN",
"=",
"0xAD",
";",
"int",
"FRETURN",
"=",
"0xAE",
";",
"int",
"DRETURN",
"=",
"0xAF",
";",
"int",
"ARETURN",
"=",
"0xB0",
";",
"int",
"RETURN",
"=",
"0xB1",
";",
"int",
"GETSTATIC",
"=",
"0xB2",
";",
"int",
"PUTSTATIC",
"=",
"0xB3",
";",
"int",
"GETFIELD",
"=",
"0xB4",
";",
"int",
"PUTFIELD",
"=",
"0xB5",
";",
"int",
"INVOKEVIRTUAL",
"=",
"0xB6",
";",
"int",
"INVOKESPECIAL",
"=",
"0xB7",
";",
"int",
"INVOKESTATIC",
"=",
"0xB8",
";",
"int",
"INVOKEINTERFACE",
"=",
"0xB9",
";",
"int",
"INVOKEDYNAMIC",
"=",
"0xBA",
";",
"int",
"NEW",
"=",
"0xBB",
";",
"int",
"NEWARRAY",
"=",
"0xBC",
";",
"int",
"ANEWARRAY",
"=",
"0xBD",
";",
"int",
"ARRAYLENGTH",
"=",
"0xBE",
";",
"int",
"ATHROW",
"=",
"0xBF",
";",
"int",
"CHECKCAST",
"=",
"0xC0",
";",
"int",
"INSTANCEOF",
"=",
"0xC1",
";",
"int",
"MONITORENTER",
"=",
"0xC2",
";",
"int",
"MONITOREXIT",
"=",
"0xC3",
";",
"int",
"WIDE",
"=",
"0xC4",
";",
"int",
"MULTIANEWARRAY",
"=",
"0xC5",
";",
"int",
"IFNULL",
"=",
"0xC6",
";",
"int",
"IFNONNULL",
"=",
"0xC7",
";",
"int",
"GOTO_W",
"=",
"0xC8",
";",
"int",
"JSR_W",
"=",
"0xC9",
";",
"int",
"BREAKPOINT",
"=",
"0xCA",
";",
"int",
"IMPDEP1",
"=",
"0xFE",
";",
"int",
"IMPDEP2",
"=",
"0xFF",
";",
"}",
"</s>"
] |
3,045 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IBootstrapMethodsAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getBootstrapMethodsLength",
"(",
")",
";",
"IBootstrapMethodsEntry",
"[",
"]",
"getBootstrapMethods",
"(",
")",
";",
"}",
"</s>"
] |
3,046 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IConstantPoolEntry2",
"extends",
"IConstantPoolEntry",
"{",
"int",
"getDescriptorIndex",
"(",
")",
";",
"int",
"getReferenceKind",
"(",
")",
";",
"int",
"getReferenceIndex",
"(",
")",
";",
"int",
"getBootstrapMethodAttributeIndex",
"(",
")",
";",
"}",
"</s>"
] |
3,047 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IBytecodeVisitor",
"{",
"void",
"_aaload",
"(",
"int",
"pc",
")",
";",
"void",
"_aastore",
"(",
"int",
"pc",
")",
";",
"void",
"_aconst_null",
"(",
"int",
"pc",
")",
";",
"void",
"_aload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_aload_0",
"(",
"int",
"pc",
")",
";",
"void",
"_aload_1",
"(",
"int",
"pc",
")",
";",
"void",
"_aload_2",
"(",
"int",
"pc",
")",
";",
"void",
"_aload_3",
"(",
"int",
"pc",
")",
";",
"void",
"_anewarray",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
";",
"void",
"_areturn",
"(",
"int",
"pc",
")",
";",
"void",
"_arraylength",
"(",
"int",
"pc",
")",
";",
"void",
"_astore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_astore_0",
"(",
"int",
"pc",
")",
";",
"void",
"_astore_1",
"(",
"int",
"pc",
")",
";",
"void",
"_astore_2",
"(",
"int",
"pc",
")",
";",
"void",
"_astore_3",
"(",
"int",
"pc",
")",
";",
"void",
"_athrow",
"(",
"int",
"pc",
")",
";",
"void",
"_baload",
"(",
"int",
"pc",
")",
";",
"void",
"_bastore",
"(",
"int",
"pc",
")",
";",
"void",
"_bipush",
"(",
"int",
"pc",
",",
"byte",
"_byte",
")",
";",
"void",
"_caload",
"(",
"int",
"pc",
")",
";",
"void",
"_castore",
"(",
"int",
"pc",
")",
";",
"void",
"_checkcast",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
";",
"void",
"_d2f",
"(",
"int",
"pc",
")",
";",
"void",
"_d2i",
"(",
"int",
"pc",
")",
";",
"void",
"_d2l",
"(",
"int",
"pc",
")",
";",
"void",
"_dadd",
"(",
"int",
"pc",
")",
";",
"void",
"_daload",
"(",
"int",
"pc",
")",
";",
"void",
"_dastore",
"(",
"int",
"pc",
")",
";",
"void",
"_dcmpg",
"(",
"int",
"pc",
")",
";",
"void",
"_dcmpl",
"(",
"int",
"pc",
")",
";",
"void",
"_dconst_0",
"(",
"int",
"pc",
")",
";",
"void",
"_dconst_1",
"(",
"int",
"pc",
")",
";",
"void",
"_ddiv",
"(",
"int",
"pc",
")",
";",
"void",
"_dload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_dload_0",
"(",
"int",
"pc",
")",
";",
"void",
"_dload_1",
"(",
"int",
"pc",
")",
";",
"void",
"_dload_2",
"(",
"int",
"pc",
")",
";",
"void",
"_dload_3",
"(",
"int",
"pc",
")",
";",
"void",
"_dmul",
"(",
"int",
"pc",
")",
";",
"void",
"_dneg",
"(",
"int",
"pc",
")",
";",
"void",
"_drem",
"(",
"int",
"pc",
")",
";",
"void",
"_dreturn",
"(",
"int",
"pc",
")",
";",
"void",
"_dstore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_dstore_0",
"(",
"int",
"pc",
")",
";",
"void",
"_dstore_1",
"(",
"int",
"pc",
")",
";",
"void",
"_dstore_2",
"(",
"int",
"pc",
")",
";",
"void",
"_dstore_3",
"(",
"int",
"pc",
")",
";",
"void",
"_dsub",
"(",
"int",
"pc",
")",
";",
"void",
"_dup",
"(",
"int",
"pc",
")",
";",
"void",
"_dup_x1",
"(",
"int",
"pc",
")",
";",
"void",
"_dup_x2",
"(",
"int",
"pc",
")",
";",
"void",
"_dup2",
"(",
"int",
"pc",
")",
";",
"void",
"_dup2_x1",
"(",
"int",
"pc",
")",
";",
"void",
"_dup2_x2",
"(",
"int",
"pc",
")",
";",
"void",
"_f2d",
"(",
"int",
"pc",
")",
";",
"void",
"_f2i",
"(",
"int",
"pc",
")",
";",
"void",
"_f2l",
"(",
"int",
"pc",
")",
";",
"void",
"_fadd",
"(",
"int",
"pc",
")",
";",
"void",
"_faload",
"(",
"int",
"pc",
")",
";",
"void",
"_fastore",
"(",
"int",
"pc",
")",
";",
"void",
"_fcmpg",
"(",
"int",
"pc",
")",
";",
"void",
"_fcmpl",
"(",
"int",
"pc",
")",
";",
"void",
"_fconst_0",
"(",
"int",
"pc",
")",
";",
"void",
"_fconst_1",
"(",
"int",
"pc",
")",
";",
"void",
"_fconst_2",
"(",
"int",
"pc",
")",
";",
"void",
"_fdiv",
"(",
"int",
"pc",
")",
";",
"void",
"_fload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_fload_0",
"(",
"int",
"pc",
")",
";",
"void",
"_fload_1",
"(",
"int",
"pc",
")",
";",
"void",
"_fload_2",
"(",
"int",
"pc",
")",
";",
"void",
"_fload_3",
"(",
"int",
"pc",
")",
";",
"void",
"_fmul",
"(",
"int",
"pc",
")",
";",
"void",
"_fneg",
"(",
"int",
"pc",
")",
";",
"void",
"_frem",
"(",
"int",
"pc",
")",
";",
"void",
"_freturn",
"(",
"int",
"pc",
")",
";",
"void",
"_fstore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_fstore_0",
"(",
"int",
"pc",
")",
";",
"void",
"_fstore_1",
"(",
"int",
"pc",
")",
";",
"void",
"_fstore_2",
"(",
"int",
"pc",
")",
";",
"void",
"_fstore_3",
"(",
"int",
"pc",
")",
";",
"void",
"_fsub",
"(",
"int",
"pc",
")",
";",
"void",
"_getfield",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
";",
"void",
"_getstatic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
";",
"void",
"_goto",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_goto_w",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_i2b",
"(",
"int",
"pc",
")",
";",
"void",
"_i2c",
"(",
"int",
"pc",
")",
";",
"void",
"_i2d",
"(",
"int",
"pc",
")",
";",
"void",
"_i2f",
"(",
"int",
"pc",
")",
";",
"void",
"_i2l",
"(",
"int",
"pc",
")",
";",
"void",
"_i2s",
"(",
"int",
"pc",
")",
";",
"void",
"_iadd",
"(",
"int",
"pc",
")",
";",
"void",
"_iaload",
"(",
"int",
"pc",
")",
";",
"void",
"_iand",
"(",
"int",
"pc",
")",
";",
"void",
"_iastore",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_m1",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_0",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_1",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_2",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_3",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_4",
"(",
"int",
"pc",
")",
";",
"void",
"_iconst_5",
"(",
"int",
"pc",
")",
";",
"void",
"_idiv",
"(",
"int",
"pc",
")",
";",
"void",
"_if_acmpeq",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_acmpne",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_icmpeq",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_icmpne",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_icmplt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_icmpge",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_icmpgt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_if_icmple",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifeq",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifne",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_iflt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifge",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifgt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifle",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifnonnull",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_ifnull",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_iinc",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"int",
"_const",
")",
";",
"void",
"_iload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_iload_0",
"(",
"int",
"pc",
")",
";",
"void",
"_iload_1",
"(",
"int",
"pc",
")",
";",
"void",
"_iload_2",
"(",
"int",
"pc",
")",
";",
"void",
"_iload_3",
"(",
"int",
"pc",
")",
";",
"void",
"_imul",
"(",
"int",
"pc",
")",
";",
"void",
"_ineg",
"(",
"int",
"pc",
")",
";",
"void",
"_instanceof",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
";",
"void",
"_invokedynamic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"nameEntry",
",",
"IConstantPoolEntry",
"descriptorEntry",
")",
";",
"void",
"_invokedynamic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"invokeDynamic",
")",
";",
"void",
"_invokeinterface",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"byte",
"nargs",
",",
"IConstantPoolEntry",
"constantInterfaceMethodref",
")",
";",
"void",
"_invokespecial",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantMethodref",
")",
";",
"void",
"_invokestatic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantMethodref",
")",
";",
"void",
"_invokevirtual",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantMethodref",
")",
";",
"void",
"_ior",
"(",
"int",
"pc",
")",
";",
"void",
"_irem",
"(",
"int",
"pc",
")",
";",
"void",
"_ireturn",
"(",
"int",
"pc",
")",
";",
"void",
"_ishl",
"(",
"int",
"pc",
")",
";",
"void",
"_ishr",
"(",
"int",
"pc",
")",
";",
"void",
"_istore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_istore_0",
"(",
"int",
"pc",
")",
";",
"void",
"_istore_1",
"(",
"int",
"pc",
")",
";",
"void",
"_istore_2",
"(",
"int",
"pc",
")",
";",
"void",
"_istore_3",
"(",
"int",
"pc",
")",
";",
"void",
"_isub",
"(",
"int",
"pc",
")",
";",
"void",
"_iushr",
"(",
"int",
"pc",
")",
";",
"void",
"_ixor",
"(",
"int",
"pc",
")",
";",
"void",
"_jsr",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_jsr_w",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
";",
"void",
"_l2d",
"(",
"int",
"pc",
")",
";",
"void",
"_l2f",
"(",
"int",
"pc",
")",
";",
"void",
"_l2i",
"(",
"int",
"pc",
")",
";",
"void",
"_ladd",
"(",
"int",
"pc",
")",
";",
"void",
"_laload",
"(",
"int",
"pc",
")",
";",
"void",
"_land",
"(",
"int",
"pc",
")",
";",
"void",
"_lastore",
"(",
"int",
"pc",
")",
";",
"void",
"_lcmp",
"(",
"int",
"pc",
")",
";",
"void",
"_lconst_0",
"(",
"int",
"pc",
")",
";",
"void",
"_lconst_1",
"(",
"int",
"pc",
")",
";",
"void",
"_ldc",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantPoolEntry",
")",
";",
"void",
"_ldc_w",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantPoolEntry",
")",
";",
"void",
"_ldc2_w",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantPoolEntry",
")",
";",
"void",
"_ldiv",
"(",
"int",
"pc",
")",
";",
"void",
"_lload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_lload_0",
"(",
"int",
"pc",
")",
";",
"void",
"_lload_1",
"(",
"int",
"pc",
")",
";",
"void",
"_lload_2",
"(",
"int",
"pc",
")",
";",
"void",
"_lload_3",
"(",
"int",
"pc",
")",
";",
"void",
"_lmul",
"(",
"int",
"pc",
")",
";",
"void",
"_lneg",
"(",
"int",
"pc",
")",
";",
"void",
"_lookupswitch",
"(",
"int",
"pc",
",",
"int",
"defaultoffset",
",",
"int",
"npairs",
",",
"int",
"[",
"]",
"[",
"]",
"offset_pairs",
")",
";",
"void",
"_lor",
"(",
"int",
"pc",
")",
";",
"void",
"_lrem",
"(",
"int",
"pc",
")",
";",
"void",
"_lreturn",
"(",
"int",
"pc",
")",
";",
"void",
"_lshl",
"(",
"int",
"pc",
")",
";",
"void",
"_lshr",
"(",
"int",
"pc",
")",
";",
"void",
"_lstore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_lstore_0",
"(",
"int",
"pc",
")",
";",
"void",
"_lstore_1",
"(",
"int",
"pc",
")",
";",
"void",
"_lstore_2",
"(",
"int",
"pc",
")",
";",
"void",
"_lstore_3",
"(",
"int",
"pc",
")",
";",
"void",
"_lsub",
"(",
"int",
"pc",
")",
";",
"void",
"_lushr",
"(",
"int",
"pc",
")",
";",
"void",
"_lxor",
"(",
"int",
"pc",
")",
";",
"void",
"_monitorenter",
"(",
"int",
"pc",
")",
";",
"void",
"_monitorexit",
"(",
"int",
"pc",
")",
";",
"void",
"_multianewarray",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"int",
"dimensions",
",",
"IConstantPoolEntry",
"constantClass",
")",
";",
"void",
"_new",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
";",
"void",
"_newarray",
"(",
"int",
"pc",
",",
"int",
"atype",
")",
";",
"void",
"_nop",
"(",
"int",
"pc",
")",
";",
"void",
"_pop",
"(",
"int",
"pc",
")",
";",
"void",
"_pop2",
"(",
"int",
"pc",
")",
";",
"void",
"_putfield",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
";",
"void",
"_putstatic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
";",
"void",
"_ret",
"(",
"int",
"pc",
",",
"int",
"index",
")",
";",
"void",
"_return",
"(",
"int",
"pc",
")",
";",
"void",
"_saload",
"(",
"int",
"pc",
")",
";",
"void",
"_sastore",
"(",
"int",
"pc",
")",
";",
"void",
"_sipush",
"(",
"int",
"pc",
",",
"short",
"value",
")",
";",
"void",
"_swap",
"(",
"int",
"pc",
")",
";",
"void",
"_tableswitch",
"(",
"int",
"pc",
",",
"int",
"defaultoffset",
",",
"int",
"low",
",",
"int",
"high",
",",
"int",
"[",
"]",
"jump_offsets",
")",
";",
"void",
"_wide",
"(",
"int",
"pc",
",",
"int",
"opcode",
",",
"int",
"index",
")",
";",
"void",
"_wide",
"(",
"int",
"pc",
",",
"int",
"iincopcode",
",",
"int",
"index",
",",
"int",
"_const",
")",
";",
"void",
"_breakpoint",
"(",
"int",
"pc",
")",
";",
"void",
"_impdep1",
"(",
"int",
"pc",
")",
";",
"void",
"_impdep2",
"(",
"int",
"pc",
")",
";",
"}",
"</s>"
] |
3,048 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ILocalVariableTypeTableAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getLocalVariableTypeTableLength",
"(",
")",
";",
"ILocalVariableTypeTableEntry",
"[",
"]",
"getLocalVariableTypeTable",
"(",
")",
";",
"}",
"</s>"
] |
3,049 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"class",
"OpcodeStringValues",
"implements",
"IOpcodeMnemonics",
"{",
"public",
"static",
"final",
"String",
"[",
"]",
"BYTECODE_NAMES",
"=",
"new",
"String",
"[",
"256",
"]",
";",
"static",
"{",
"BYTECODE_NAMES",
"[",
"NOP",
"]",
"=",
"\"nop\"",
";",
"BYTECODE_NAMES",
"[",
"ACONST_NULL",
"]",
"=",
"\"aconst_null\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_M1",
"]",
"=",
"\"iconst_m1\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_0",
"]",
"=",
"\"iconst_0\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_1",
"]",
"=",
"\"iconst_1\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_2",
"]",
"=",
"\"iconst_2\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_3",
"]",
"=",
"\"iconst_3\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_4",
"]",
"=",
"\"iconst_4\"",
";",
"BYTECODE_NAMES",
"[",
"ICONST_5",
"]",
"=",
"\"iconst_5\"",
";",
"BYTECODE_NAMES",
"[",
"LCONST_0",
"]",
"=",
"\"lconst_0\"",
";",
"BYTECODE_NAMES",
"[",
"LCONST_1",
"]",
"=",
"\"lconst_1\"",
";",
"BYTECODE_NAMES",
"[",
"FCONST_0",
"]",
"=",
"\"fconst_0\"",
";",
"BYTECODE_NAMES",
"[",
"FCONST_1",
"]",
"=",
"\"fconst_1\"",
";",
"BYTECODE_NAMES",
"[",
"FCONST_2",
"]",
"=",
"\"fconst_2\"",
";",
"BYTECODE_NAMES",
"[",
"DCONST_0",
"]",
"=",
"\"dconst_0\"",
";",
"BYTECODE_NAMES",
"[",
"DCONST_1",
"]",
"=",
"\"dconst_1\"",
";",
"BYTECODE_NAMES",
"[",
"BIPUSH",
"]",
"=",
"\"bipush\"",
";",
"BYTECODE_NAMES",
"[",
"SIPUSH",
"]",
"=",
"\"sipush\"",
";",
"BYTECODE_NAMES",
"[",
"LDC",
"]",
"=",
"\"ldc\"",
";",
"BYTECODE_NAMES",
"[",
"LDC_W",
"]",
"=",
"\"ldc_w\"",
";",
"BYTECODE_NAMES",
"[",
"LDC2_W",
"]",
"=",
"\"ldc2_w\"",
";",
"BYTECODE_NAMES",
"[",
"ILOAD",
"]",
"=",
"\"iload\"",
";",
"BYTECODE_NAMES",
"[",
"LLOAD",
"]",
"=",
"\"lload\"",
";",
"BYTECODE_NAMES",
"[",
"FLOAD",
"]",
"=",
"\"fload\"",
";",
"BYTECODE_NAMES",
"[",
"DLOAD",
"]",
"=",
"\"dload\"",
";",
"BYTECODE_NAMES",
"[",
"ALOAD",
"]",
"=",
"\"aload\"",
";",
"BYTECODE_NAMES",
"[",
"ILOAD_0",
"]",
"=",
"\"iload_0\"",
";",
"BYTECODE_NAMES",
"[",
"ILOAD_1",
"]",
"=",
"\"iload_1\"",
";",
"BYTECODE_NAMES",
"[",
"ILOAD_2",
"]",
"=",
"\"iload_2\"",
";",
"BYTECODE_NAMES",
"[",
"ILOAD_3",
"]",
"=",
"\"iload_3\"",
";",
"BYTECODE_NAMES",
"[",
"LLOAD_0",
"]",
"=",
"\"lload_0\"",
";",
"BYTECODE_NAMES",
"[",
"LLOAD_1",
"]",
"=",
"\"lload_1\"",
";",
"BYTECODE_NAMES",
"[",
"LLOAD_2",
"]",
"=",
"\"lload_2\"",
";",
"BYTECODE_NAMES",
"[",
"LLOAD_3",
"]",
"=",
"\"lload_3\"",
";",
"BYTECODE_NAMES",
"[",
"FLOAD_0",
"]",
"=",
"\"fload_0\"",
";",
"BYTECODE_NAMES",
"[",
"FLOAD_1",
"]",
"=",
"\"fload_1\"",
";",
"BYTECODE_NAMES",
"[",
"FLOAD_2",
"]",
"=",
"\"fload_2\"",
";",
"BYTECODE_NAMES",
"[",
"FLOAD_3",
"]",
"=",
"\"fload_3\"",
";",
"BYTECODE_NAMES",
"[",
"DLOAD_0",
"]",
"=",
"\"dload_0\"",
";",
"BYTECODE_NAMES",
"[",
"DLOAD_1",
"]",
"=",
"\"dload_1\"",
";",
"BYTECODE_NAMES",
"[",
"DLOAD_2",
"]",
"=",
"\"dload_2\"",
";",
"BYTECODE_NAMES",
"[",
"DLOAD_3",
"]",
"=",
"\"dload_3\"",
";",
"BYTECODE_NAMES",
"[",
"ALOAD_0",
"]",
"=",
"\"aload_0\"",
";",
"BYTECODE_NAMES",
"[",
"ALOAD_1",
"]",
"=",
"\"aload_1\"",
";",
"BYTECODE_NAMES",
"[",
"ALOAD_2",
"]",
"=",
"\"aload_2\"",
";",
"BYTECODE_NAMES",
"[",
"ALOAD_3",
"]",
"=",
"\"aload_3\"",
";",
"BYTECODE_NAMES",
"[",
"IALOAD",
"]",
"=",
"\"iaload\"",
";",
"BYTECODE_NAMES",
"[",
"LALOAD",
"]",
"=",
"\"laload\"",
";",
"BYTECODE_NAMES",
"[",
"FALOAD",
"]",
"=",
"\"faload\"",
";",
"BYTECODE_NAMES",
"[",
"DALOAD",
"]",
"=",
"\"daload\"",
";",
"BYTECODE_NAMES",
"[",
"AALOAD",
"]",
"=",
"\"aaload\"",
";",
"BYTECODE_NAMES",
"[",
"BALOAD",
"]",
"=",
"\"baload\"",
";",
"BYTECODE_NAMES",
"[",
"CALOAD",
"]",
"=",
"\"caload\"",
";",
"BYTECODE_NAMES",
"[",
"SALOAD",
"]",
"=",
"\"saload\"",
";",
"BYTECODE_NAMES",
"[",
"ISTORE",
"]",
"=",
"\"istore\"",
";",
"BYTECODE_NAMES",
"[",
"LSTORE",
"]",
"=",
"\"lstore\"",
";",
"BYTECODE_NAMES",
"[",
"FSTORE",
"]",
"=",
"\"fstore\"",
";",
"BYTECODE_NAMES",
"[",
"DSTORE",
"]",
"=",
"\"dstore\"",
";",
"BYTECODE_NAMES",
"[",
"ASTORE",
"]",
"=",
"\"astore\"",
";",
"BYTECODE_NAMES",
"[",
"ISTORE_0",
"]",
"=",
"\"istore_0\"",
";",
"BYTECODE_NAMES",
"[",
"ISTORE_1",
"]",
"=",
"\"istore_1\"",
";",
"BYTECODE_NAMES",
"[",
"ISTORE_2",
"]",
"=",
"\"istore_2\"",
";",
"BYTECODE_NAMES",
"[",
"ISTORE_3",
"]",
"=",
"\"istore_3\"",
";",
"BYTECODE_NAMES",
"[",
"LSTORE_0",
"]",
"=",
"\"lstore_0\"",
";",
"BYTECODE_NAMES",
"[",
"LSTORE_1",
"]",
"=",
"\"lstore_1\"",
";",
"BYTECODE_NAMES",
"[",
"LSTORE_2",
"]",
"=",
"\"lstore_2\"",
";",
"BYTECODE_NAMES",
"[",
"LSTORE_3",
"]",
"=",
"\"lstore_3\"",
";",
"BYTECODE_NAMES",
"[",
"FSTORE_0",
"]",
"=",
"\"fstore_0\"",
";",
"BYTECODE_NAMES",
"[",
"FSTORE_1",
"]",
"=",
"\"fstore_1\"",
";",
"BYTECODE_NAMES",
"[",
"FSTORE_2",
"]",
"=",
"\"fstore_2\"",
";",
"BYTECODE_NAMES",
"[",
"FSTORE_3",
"]",
"=",
"\"fstore_3\"",
";",
"BYTECODE_NAMES",
"[",
"DSTORE_0",
"]",
"=",
"\"dstore_0\"",
";",
"BYTECODE_NAMES",
"[",
"DSTORE_1",
"]",
"=",
"\"dstore_1\"",
";",
"BYTECODE_NAMES",
"[",
"DSTORE_2",
"]",
"=",
"\"dstore_2\"",
";",
"BYTECODE_NAMES",
"[",
"DSTORE_3",
"]",
"=",
"\"dstore_3\"",
";",
"BYTECODE_NAMES",
"[",
"ASTORE_0",
"]",
"=",
"\"astore_0\"",
";",
"BYTECODE_NAMES",
"[",
"ASTORE_1",
"]",
"=",
"\"astore_1\"",
";",
"BYTECODE_NAMES",
"[",
"ASTORE_2",
"]",
"=",
"\"astore_2\"",
";",
"BYTECODE_NAMES",
"[",
"ASTORE_3",
"]",
"=",
"\"astore_3\"",
";",
"BYTECODE_NAMES",
"[",
"IASTORE",
"]",
"=",
"\"iastore\"",
";",
"BYTECODE_NAMES",
"[",
"LASTORE",
"]",
"=",
"\"lastore\"",
";",
"BYTECODE_NAMES",
"[",
"FASTORE",
"]",
"=",
"\"fastore\"",
";",
"BYTECODE_NAMES",
"[",
"DASTORE",
"]",
"=",
"\"dastore\"",
";",
"BYTECODE_NAMES",
"[",
"AASTORE",
"]",
"=",
"\"aastore\"",
";",
"BYTECODE_NAMES",
"[",
"BASTORE",
"]",
"=",
"\"bastore\"",
";",
"BYTECODE_NAMES",
"[",
"CASTORE",
"]",
"=",
"\"castore\"",
";",
"BYTECODE_NAMES",
"[",
"SASTORE",
"]",
"=",
"\"sastore\"",
";",
"BYTECODE_NAMES",
"[",
"POP",
"]",
"=",
"\"pop\"",
";",
"BYTECODE_NAMES",
"[",
"POP2",
"]",
"=",
"\"pop2\"",
";",
"BYTECODE_NAMES",
"[",
"DUP",
"]",
"=",
"\"dup\"",
";",
"BYTECODE_NAMES",
"[",
"DUP_X1",
"]",
"=",
"\"dup_x1\"",
";",
"BYTECODE_NAMES",
"[",
"DUP_X2",
"]",
"=",
"\"dup_x2\"",
";",
"BYTECODE_NAMES",
"[",
"DUP2",
"]",
"=",
"\"dup2\"",
";",
"BYTECODE_NAMES",
"[",
"DUP2_X1",
"]",
"=",
"\"dup2_x1\"",
";",
"BYTECODE_NAMES",
"[",
"DUP2_X2",
"]",
"=",
"\"dup2_x2\"",
";",
"BYTECODE_NAMES",
"[",
"SWAP",
"]",
"=",
"\"swap\"",
";",
"BYTECODE_NAMES",
"[",
"IADD",
"]",
"=",
"\"iadd\"",
";",
"BYTECODE_NAMES",
"[",
"LADD",
"]",
"=",
"\"ladd\"",
";",
"BYTECODE_NAMES",
"[",
"FADD",
"]",
"=",
"\"fadd\"",
";",
"BYTECODE_NAMES",
"[",
"DADD",
"]",
"=",
"\"dadd\"",
";",
"BYTECODE_NAMES",
"[",
"ISUB",
"]",
"=",
"\"isub\"",
";",
"BYTECODE_NAMES",
"[",
"LSUB",
"]",
"=",
"\"lsub\"",
";",
"BYTECODE_NAMES",
"[",
"FSUB",
"]",
"=",
"\"fsub\"",
";",
"BYTECODE_NAMES",
"[",
"DSUB",
"]",
"=",
"\"dsub\"",
";",
"BYTECODE_NAMES",
"[",
"IMUL",
"]",
"=",
"\"imul\"",
";",
"BYTECODE_NAMES",
"[",
"LMUL",
"]",
"=",
"\"lmul\"",
";",
"BYTECODE_NAMES",
"[",
"FMUL",
"]",
"=",
"\"fmul\"",
";",
"BYTECODE_NAMES",
"[",
"DMUL",
"]",
"=",
"\"dmul\"",
";",
"BYTECODE_NAMES",
"[",
"IDIV",
"]",
"=",
"\"idiv\"",
";",
"BYTECODE_NAMES",
"[",
"LDIV",
"]",
"=",
"\"ldiv\"",
";",
"BYTECODE_NAMES",
"[",
"FDIV",
"]",
"=",
"\"fdiv\"",
";",
"BYTECODE_NAMES",
"[",
"DDIV",
"]",
"=",
"\"ddiv\"",
";",
"BYTECODE_NAMES",
"[",
"IREM",
"]",
"=",
"\"irem\"",
";",
"BYTECODE_NAMES",
"[",
"LREM",
"]",
"=",
"\"lrem\"",
";",
"BYTECODE_NAMES",
"[",
"FREM",
"]",
"=",
"\"frem\"",
";",
"BYTECODE_NAMES",
"[",
"DREM",
"]",
"=",
"\"drem\"",
";",
"BYTECODE_NAMES",
"[",
"INEG",
"]",
"=",
"\"ineg\"",
";",
"BYTECODE_NAMES",
"[",
"LNEG",
"]",
"=",
"\"lneg\"",
";",
"BYTECODE_NAMES",
"[",
"FNEG",
"]",
"=",
"\"fneg\"",
";",
"BYTECODE_NAMES",
"[",
"DNEG",
"]",
"=",
"\"dneg\"",
";",
"BYTECODE_NAMES",
"[",
"ISHL",
"]",
"=",
"\"ishl\"",
";",
"BYTECODE_NAMES",
"[",
"LSHL",
"]",
"=",
"\"lshl\"",
";",
"BYTECODE_NAMES",
"[",
"ISHR",
"]",
"=",
"\"ishr\"",
";",
"BYTECODE_NAMES",
"[",
"LSHR",
"]",
"=",
"\"lshr\"",
";",
"BYTECODE_NAMES",
"[",
"IUSHR",
"]",
"=",
"\"iushr\"",
";",
"BYTECODE_NAMES",
"[",
"LUSHR",
"]",
"=",
"\"lushr\"",
";",
"BYTECODE_NAMES",
"[",
"IAND",
"]",
"=",
"\"iand\"",
";",
"BYTECODE_NAMES",
"[",
"LAND",
"]",
"=",
"\"land\"",
";",
"BYTECODE_NAMES",
"[",
"IOR",
"]",
"=",
"\"ior\"",
";",
"BYTECODE_NAMES",
"[",
"LOR",
"]",
"=",
"\"lor\"",
";",
"BYTECODE_NAMES",
"[",
"IXOR",
"]",
"=",
"\"ixor\"",
";",
"BYTECODE_NAMES",
"[",
"LXOR",
"]",
"=",
"\"lxor\"",
";",
"BYTECODE_NAMES",
"[",
"IINC",
"]",
"=",
"\"iinc\"",
";",
"BYTECODE_NAMES",
"[",
"I2L",
"]",
"=",
"\"i2l\"",
";",
"BYTECODE_NAMES",
"[",
"I2F",
"]",
"=",
"\"i2f\"",
";",
"BYTECODE_NAMES",
"[",
"I2D",
"]",
"=",
"\"i2d\"",
";",
"BYTECODE_NAMES",
"[",
"L2I",
"]",
"=",
"\"l2i\"",
";",
"BYTECODE_NAMES",
"[",
"L2F",
"]",
"=",
"\"l2f\"",
";",
"BYTECODE_NAMES",
"[",
"L2D",
"]",
"=",
"\"l2d\"",
";",
"BYTECODE_NAMES",
"[",
"F2I",
"]",
"=",
"\"f2i\"",
";",
"BYTECODE_NAMES",
"[",
"F2L",
"]",
"=",
"\"f2l\"",
";",
"BYTECODE_NAMES",
"[",
"F2D",
"]",
"=",
"\"f2d\"",
";",
"BYTECODE_NAMES",
"[",
"D2I",
"]",
"=",
"\"d2i\"",
";",
"BYTECODE_NAMES",
"[",
"D2L",
"]",
"=",
"\"d2l\"",
";",
"BYTECODE_NAMES",
"[",
"D2F",
"]",
"=",
"\"d2f\"",
";",
"BYTECODE_NAMES",
"[",
"I2B",
"]",
"=",
"\"i2b\"",
";",
"BYTECODE_NAMES",
"[",
"I2C",
"]",
"=",
"\"i2c\"",
";",
"BYTECODE_NAMES",
"[",
"I2S",
"]",
"=",
"\"i2s\"",
";",
"BYTECODE_NAMES",
"[",
"LCMP",
"]",
"=",
"\"lcmp\"",
";",
"BYTECODE_NAMES",
"[",
"FCMPL",
"]",
"=",
"\"fcmpl\"",
";",
"BYTECODE_NAMES",
"[",
"FCMPG",
"]",
"=",
"\"fcmpg\"",
";",
"BYTECODE_NAMES",
"[",
"DCMPL",
"]",
"=",
"\"dcmpl\"",
";",
"BYTECODE_NAMES",
"[",
"DCMPG",
"]",
"=",
"\"dcmpg\"",
";",
"BYTECODE_NAMES",
"[",
"IFEQ",
"]",
"=",
"\"ifeq\"",
";",
"BYTECODE_NAMES",
"[",
"IFNE",
"]",
"=",
"\"ifne\"",
";",
"BYTECODE_NAMES",
"[",
"IFLT",
"]",
"=",
"\"iflt\"",
";",
"BYTECODE_NAMES",
"[",
"IFGE",
"]",
"=",
"\"ifge\"",
";",
"BYTECODE_NAMES",
"[",
"IFGT",
"]",
"=",
"\"ifgt\"",
";",
"BYTECODE_NAMES",
"[",
"IFLE",
"]",
"=",
"\"ifle\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ICMPEQ",
"]",
"=",
"\"if_icmpeq\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ICMPNE",
"]",
"=",
"\"if_icmpne\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ICMPLT",
"]",
"=",
"\"if_icmplt\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ICMPGE",
"]",
"=",
"\"if_icmpge\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ICMPGT",
"]",
"=",
"\"if_icmpgt\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ICMPLE",
"]",
"=",
"\"if_icmple\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ACMPEQ",
"]",
"=",
"\"if_acmpeq\"",
";",
"BYTECODE_NAMES",
"[",
"IF_ACMPNE",
"]",
"=",
"\"if_acmpne\"",
";",
"BYTECODE_NAMES",
"[",
"GOTO",
"]",
"=",
"\"goto\"",
";",
"BYTECODE_NAMES",
"[",
"JSR",
"]",
"=",
"\"jsr\"",
";",
"BYTECODE_NAMES",
"[",
"RET",
"]",
"=",
"\"ret\"",
";",
"BYTECODE_NAMES",
"[",
"TABLESWITCH",
"]",
"=",
"\"tableswitch\"",
";",
"BYTECODE_NAMES",
"[",
"LOOKUPSWITCH",
"]",
"=",
"\"lookupswitch\"",
";",
"BYTECODE_NAMES",
"[",
"IRETURN",
"]",
"=",
"\"ireturn\"",
";",
"BYTECODE_NAMES",
"[",
"LRETURN",
"]",
"=",
"\"lreturn\"",
";",
"BYTECODE_NAMES",
"[",
"FRETURN",
"]",
"=",
"\"freturn\"",
";",
"BYTECODE_NAMES",
"[",
"DRETURN",
"]",
"=",
"\"dreturn\"",
";",
"BYTECODE_NAMES",
"[",
"ARETURN",
"]",
"=",
"\"areturn\"",
";",
"BYTECODE_NAMES",
"[",
"RETURN",
"]",
"=",
"\"return\"",
";",
"BYTECODE_NAMES",
"[",
"GETSTATIC",
"]",
"=",
"\"getstatic\"",
";",
"BYTECODE_NAMES",
"[",
"PUTSTATIC",
"]",
"=",
"\"putstatic\"",
";",
"BYTECODE_NAMES",
"[",
"GETFIELD",
"]",
"=",
"\"getfield\"",
";",
"BYTECODE_NAMES",
"[",
"PUTFIELD",
"]",
"=",
"\"putfield\"",
";",
"BYTECODE_NAMES",
"[",
"INVOKEVIRTUAL",
"]",
"=",
"\"\"",
";",
"BYTECODE_NAMES",
"[",
"INVOKESPECIAL",
"]",
"=",
"\"\"",
";",
"BYTECODE_NAMES",
"[",
"INVOKESTATIC",
"]",
"=",
"\"invokestatic\"",
";",
"BYTECODE_NAMES",
"[",
"INVOKEINTERFACE",
"]",
"=",
"\"\"",
";",
"BYTECODE_NAMES",
"[",
"INVOKEDYNAMIC",
"]",
"=",
"\"\"",
";",
"BYTECODE_NAMES",
"[",
"NEW",
"]",
"=",
"\"new\"",
";",
"BYTECODE_NAMES",
"[",
"NEWARRAY",
"]",
"=",
"\"newarray\"",
";",
"BYTECODE_NAMES",
"[",
"ANEWARRAY",
"]",
"=",
"\"anewarray\"",
";",
"BYTECODE_NAMES",
"[",
"ARRAYLENGTH",
"]",
"=",
"\"arraylength\"",
";",
"BYTECODE_NAMES",
"[",
"ATHROW",
"]",
"=",
"\"athrow\"",
";",
"BYTECODE_NAMES",
"[",
"CHECKCAST",
"]",
"=",
"\"checkcast\"",
";",
"BYTECODE_NAMES",
"[",
"INSTANCEOF",
"]",
"=",
"\"instanceof\"",
";",
"BYTECODE_NAMES",
"[",
"MONITORENTER",
"]",
"=",
"\"monitorenter\"",
";",
"BYTECODE_NAMES",
"[",
"MONITOREXIT",
"]",
"=",
"\"monitorexit\"",
";",
"BYTECODE_NAMES",
"[",
"WIDE",
"]",
"=",
"\"wide\"",
";",
"BYTECODE_NAMES",
"[",
"MULTIANEWARRAY",
"]",
"=",
"\"\"",
";",
"BYTECODE_NAMES",
"[",
"IFNULL",
"]",
"=",
"\"ifnull\"",
";",
"BYTECODE_NAMES",
"[",
"IFNONNULL",
"]",
"=",
"\"ifnonnull\"",
";",
"BYTECODE_NAMES",
"[",
"GOTO_W",
"]",
"=",
"\"goto_w\"",
";",
"BYTECODE_NAMES",
"[",
"JSR_W",
"]",
"=",
"\"jsr_w\"",
";",
"BYTECODE_NAMES",
"[",
"BREAKPOINT",
"]",
"=",
"\"breakpoint\"",
";",
"BYTECODE_NAMES",
"[",
"IMPDEP1",
"]",
"=",
"\"impdep1\"",
";",
"BYTECODE_NAMES",
"[",
"IMPDEP2",
"]",
"=",
"\"impdep2\"",
";",
"}",
"}",
"</s>"
] |
3,050 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IStackMapTableAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getNumberOfEntries",
"(",
")",
";",
"IStackMapFrame",
"[",
"]",
"getStackMapFrame",
"(",
")",
";",
"}",
"</s>"
] |
3,051 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ILineNumberAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getLineNumberTableLength",
"(",
")",
";",
"int",
"[",
"]",
"[",
"]",
"getLineNumberTable",
"(",
")",
";",
"}",
"</s>"
] |
3,052 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"ISourceAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getSourceFileIndex",
"(",
")",
";",
"char",
"[",
"]",
"getSourceFileName",
"(",
")",
";",
"}",
"</s>"
] |
3,053 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IStackMapAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getNumberOfEntries",
"(",
")",
";",
"IStackMapFrame",
"[",
"]",
"getStackMapFrame",
"(",
")",
";",
"}",
"</s>"
] |
3,054 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IAttributeNamesConstants",
"{",
"char",
"[",
"]",
"SYNTHETIC",
"=",
"\"Synthetic\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"CONSTANT_VALUE",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"LINE_NUMBER",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"LOCAL_VARIABLE",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"INNER_CLASSES",
"=",
"\"InnerClasses\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"CODE",
"=",
"\"Code\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"EXCEPTIONS",
"=",
"\"Exceptions\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"SOURCE",
"=",
"\"SourceFile\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"DEPRECATED",
"=",
"\"Deprecated\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"SIGNATURE",
"=",
"\"Signature\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"ENCLOSING_METHOD",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"LOCAL_VARIABLE_TYPE_TABLE",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"RUNTIME_VISIBLE_ANNOTATIONS",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"RUNTIME_INVISIBLE_ANNOTATIONS",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"RUNTIME_VISIBLE_PARAMETER_ANNOTATIONS",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"RUNTIME_INVISIBLE_PARAMETER_ANNOTATIONS",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"ANNOTATION_DEFAULT",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"STACK_MAP_TABLE",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"STACK_MAP",
"=",
"\"StackMap\"",
".",
"toCharArray",
"(",
")",
";",
"char",
"[",
"]",
"BOOTSTRAP_METHODS",
"=",
"\"\"",
".",
"toCharArray",
"(",
")",
";",
"}",
"</s>"
] |
3,055 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IRuntimeInvisibleParameterAnnotationsAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getParametersNumber",
"(",
")",
";",
"IParameterAnnotation",
"[",
"]",
"getParameterAnnotations",
"(",
")",
";",
"}",
"</s>"
] |
3,056 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IConstantPoolEntry",
"{",
"int",
"getKind",
"(",
")",
";",
"int",
"getClassInfoNameIndex",
"(",
")",
";",
"int",
"getClassIndex",
"(",
")",
";",
"int",
"getNameAndTypeIndex",
"(",
")",
";",
"int",
"getStringIndex",
"(",
")",
";",
"String",
"getStringValue",
"(",
")",
";",
"int",
"getIntegerValue",
"(",
")",
";",
"float",
"getFloatValue",
"(",
")",
";",
"double",
"getDoubleValue",
"(",
")",
";",
"long",
"getLongValue",
"(",
")",
";",
"int",
"getNameAndTypeInfoDescriptorIndex",
"(",
")",
";",
"int",
"getNameAndTypeInfoNameIndex",
"(",
")",
";",
"char",
"[",
"]",
"getClassInfoName",
"(",
")",
";",
"char",
"[",
"]",
"getClassName",
"(",
")",
";",
"char",
"[",
"]",
"getFieldName",
"(",
")",
";",
"char",
"[",
"]",
"getMethodName",
"(",
")",
";",
"char",
"[",
"]",
"getFieldDescriptor",
"(",
")",
";",
"char",
"[",
"]",
"getMethodDescriptor",
"(",
")",
";",
"char",
"[",
"]",
"getUtf8Value",
"(",
")",
";",
"int",
"getUtf8Length",
"(",
")",
";",
"}",
"</s>"
] |
3,057 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IInnerClassesAttributeEntry",
"{",
"int",
"getAccessFlags",
"(",
")",
";",
"int",
"getInnerNameIndex",
"(",
")",
";",
"int",
"getOuterClassNameIndex",
"(",
")",
";",
"int",
"getInnerClassNameIndex",
"(",
")",
";",
"char",
"[",
"]",
"getInnerName",
"(",
")",
";",
"char",
"[",
"]",
"getOuterClassName",
"(",
")",
";",
"char",
"[",
"]",
"getInnerClassName",
"(",
")",
";",
"}",
"</s>"
] |
3,058 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IMethodInfo",
"{",
"char",
"[",
"]",
"getDescriptor",
"(",
")",
";",
"int",
"getDescriptorIndex",
"(",
")",
";",
"int",
"getAccessFlags",
"(",
")",
";",
"char",
"[",
"]",
"getName",
"(",
")",
";",
"int",
"getNameIndex",
"(",
")",
";",
"boolean",
"isClinit",
"(",
")",
";",
"boolean",
"isConstructor",
"(",
")",
";",
"boolean",
"isSynthetic",
"(",
")",
";",
"boolean",
"isDeprecated",
"(",
")",
";",
"ICodeAttribute",
"getCodeAttribute",
"(",
")",
";",
"IExceptionAttribute",
"getExceptionAttribute",
"(",
")",
";",
"int",
"getAttributeCount",
"(",
")",
";",
"IClassFileAttribute",
"[",
"]",
"getAttributes",
"(",
")",
";",
"}",
"</s>"
] |
3,059 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"import",
"java",
".",
"io",
".",
"File",
";",
"import",
"java",
".",
"io",
".",
"IOException",
";",
"import",
"java",
".",
"util",
".",
"Enumeration",
";",
"import",
"java",
".",
"util",
".",
"HashMap",
";",
"import",
"java",
".",
"util",
".",
"Iterator",
";",
"import",
"java",
".",
"util",
".",
"LinkedHashSet",
";",
"import",
"java",
".",
"util",
".",
"Map",
";",
"import",
"java",
".",
"util",
".",
"PropertyResourceBundle",
";",
"import",
"java",
".",
"util",
".",
"Set",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IFile",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IFolder",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IProject",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"CoreException",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"IClasspathEntry",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"IJavaProject",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"JavaCore",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"JavaModelException",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"impl",
".",
"CompilerOptions",
";",
"public",
"class",
"CompilerUtils",
"{",
"public",
"static",
"final",
"int",
"IsGrails",
"=",
"0x0001",
";",
"public",
"static",
"void",
"configureOptionsBasedOnNature",
"(",
"CompilerOptions",
"compilerOptions",
",",
"IJavaProject",
"javaProject",
")",
"{",
"if",
"(",
"javaProject",
"==",
"null",
")",
"{",
"compilerOptions",
".",
"buildGroovyFiles",
"=",
"1",
";",
"compilerOptions",
".",
"groovyFlags",
"=",
"0",
";",
"return",
";",
"}",
"IProject",
"project",
"=",
"javaProject",
".",
"getProject",
"(",
")",
";",
"try",
"{",
"if",
"(",
"isGroovyNaturedProject",
"(",
"project",
")",
")",
"{",
"compilerOptions",
".",
"storeAnnotations",
"=",
"true",
";",
"compilerOptions",
".",
"buildGroovyFiles",
"=",
"2",
";",
"setGroovyClasspath",
"(",
"compilerOptions",
",",
"javaProject",
")",
";",
"if",
"(",
"isProbablyGrailsProject",
"(",
"project",
")",
")",
"{",
"compilerOptions",
".",
"groovyFlags",
"=",
"IsGrails",
";",
"}",
"else",
"{",
"compilerOptions",
".",
"groovyFlags",
"=",
"0",
";",
"}",
"}",
"else",
"{",
"compilerOptions",
".",
"buildGroovyFiles",
"=",
"1",
";",
"compilerOptions",
".",
"groovyFlags",
"=",
"0",
";",
"}",
"}",
"catch",
"(",
"CoreException",
"e",
")",
"{",
"compilerOptions",
".",
"buildGroovyFiles",
"=",
"1",
";",
"compilerOptions",
".",
"groovyFlags",
"=",
"0",
";",
"}",
"}",
"public",
"static",
"void",
"configureOptionsBasedOnNature",
"(",
"Map",
"optionMap",
",",
"IJavaProject",
"javaProject",
")",
"{",
"IProject",
"project",
"=",
"javaProject",
".",
"getProject",
"(",
")",
";",
"try",
"{",
"if",
"(",
"isGroovyNaturedProject",
"(",
"project",
")",
")",
"{",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_BuildGroovyFiles",
",",
"CompilerOptions",
".",
"ENABLED",
")",
";",
"setGroovyClasspath",
"(",
"optionMap",
",",
"javaProject",
")",
";",
"if",
"(",
"isProbablyGrailsProject",
"(",
"project",
")",
")",
"{",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyFlags",
",",
"Integer",
".",
"toString",
"(",
"IsGrails",
")",
")",
";",
"}",
"else",
"{",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyFlags",
",",
"\"0\"",
")",
";",
"}",
"}",
"else",
"{",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_BuildGroovyFiles",
",",
"CompilerOptions",
".",
"DISABLED",
")",
";",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyFlags",
",",
"\"0\"",
")",
";",
"}",
"}",
"catch",
"(",
"CoreException",
"e",
")",
"{",
"e",
".",
"printStackTrace",
"(",
")",
";",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_BuildGroovyFiles",
",",
"CompilerOptions",
".",
"DISABLED",
")",
";",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyFlags",
",",
"\"0\"",
")",
";",
"}",
"}",
"private",
"static",
"boolean",
"isProbablyGrailsProject",
"(",
"IProject",
"project",
")",
"{",
"try",
"{",
"IFolder",
"folder",
"=",
"project",
".",
"getFolder",
"(",
"\"grails-app\"",
")",
";",
"return",
"folder",
".",
"exists",
"(",
")",
";",
"}",
"catch",
"(",
"Exception",
"e",
")",
"{",
"return",
"false",
";",
"}",
"}",
"public",
"static",
"void",
"setGroovyClasspath",
"(",
"CompilerOptions",
"compilerOptions",
",",
"IJavaProject",
"javaProject",
")",
"{",
"Map",
"newOptions",
"=",
"new",
"HashMap",
"(",
")",
";",
"setGroovyClasspath",
"(",
"newOptions",
",",
"javaProject",
")",
";",
"compilerOptions",
".",
"groovyProjectName",
"=",
"javaProject",
".",
"getProject",
"(",
")",
".",
"getName",
"(",
")",
";",
"if",
"(",
"!",
"newOptions",
".",
"isEmpty",
"(",
")",
")",
"{",
"compilerOptions",
".",
"set",
"(",
"newOptions",
")",
";",
"}",
"}",
"public",
"static",
"void",
"setGroovyClasspath",
"(",
"Map",
"optionMap",
",",
"IJavaProject",
"javaProject",
")",
"{",
"IFile",
"file",
"=",
"javaProject",
".",
"getProject",
"(",
")",
".",
"getFile",
"(",
"\"\"",
")",
";",
"if",
"(",
"file",
".",
"exists",
"(",
")",
")",
"{",
"try",
"{",
"PropertyResourceBundle",
"prb",
"=",
"new",
"PropertyResourceBundle",
"(",
"file",
".",
"getContents",
"(",
")",
")",
";",
"Enumeration",
"e",
"=",
"prb",
".",
"getKeys",
"(",
")",
";",
"while",
"(",
"e",
".",
"hasMoreElements",
"(",
")",
")",
"{",
"String",
"k",
"=",
"(",
"String",
")",
"e",
".",
"nextElement",
"(",
")",
";",
"String",
"v",
"=",
"(",
"String",
")",
"prb",
".",
"getObject",
"(",
"k",
")",
";",
"v",
"=",
"fixup",
"(",
"v",
",",
"javaProject",
")",
";",
"if",
"(",
"k",
".",
"equals",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyClassLoaderPath",
")",
")",
"{",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyClassLoaderPath",
",",
"v",
")",
";",
"}",
"}",
"}",
"catch",
"(",
"IOException",
"ioe",
")",
"{",
"System",
".",
"err",
".",
"println",
"(",
"\"\"",
")",
";",
"ioe",
".",
"printStackTrace",
"(",
")",
";",
"}",
"catch",
"(",
"CoreException",
"ce",
")",
"{",
"System",
".",
"err",
".",
"println",
"(",
"\"\"",
")",
";",
"ce",
".",
"printStackTrace",
"(",
")",
";",
"}",
"catch",
"(",
"Throwable",
"t",
")",
"{",
"System",
".",
"err",
".",
"println",
"(",
"\"\"",
")",
";",
"t",
".",
"printStackTrace",
"(",
")",
";",
"}",
"}",
"else",
"{",
"try",
"{",
"String",
"classpath",
"=",
"calculateClasspath",
"(",
"javaProject",
")",
";",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyClassLoaderPath",
",",
"classpath",
")",
";",
"}",
"catch",
"(",
"Throwable",
"t",
")",
"{",
"System",
".",
"err",
".",
"println",
"(",
"\"\"",
")",
";",
"t",
".",
"printStackTrace",
"(",
")",
";",
"}",
"}",
"optionMap",
".",
"put",
"(",
"CompilerOptions",
".",
"OPTIONG_GroovyProjectName",
",",
"javaProject",
".",
"getProject",
"(",
")",
".",
"getName",
"(",
")",
")",
";",
"}",
"private",
"static",
"String",
"fixup",
"(",
"String",
"someString",
",",
"IJavaProject",
"javaProject",
")",
"{",
"if",
"(",
"someString",
".",
"startsWith",
"(",
"\"%projhome%\"",
")",
")",
"{",
"someString",
"=",
"javaProject",
".",
"getProject",
"(",
")",
".",
"getLocation",
"(",
")",
".",
"toOSString",
"(",
")",
"+",
"File",
".",
"separator",
"+",
"someString",
".",
"substring",
"(",
"\"%projhome%\"",
".",
"length",
"(",
")",
")",
";",
"}",
"if",
"(",
"someString",
".",
"equals",
"(",
"\"\"",
")",
")",
"{",
"someString",
"=",
"calculateClasspath",
"(",
"javaProject",
")",
";",
"}",
"return",
"someString",
";",
"}",
"private",
"static",
"boolean",
"isGroovyNaturedProject",
"(",
"IProject",
"project",
")",
"throws",
"CoreException",
"{",
"return",
"project",
".",
"hasNature",
"(",
"\"\"",
")",
";",
"}",
"private",
"static",
"String",
"pathToString",
"(",
"IPath",
"path",
",",
"IProject",
"project",
")",
"{",
"String",
"realLocation",
"=",
"null",
";",
"if",
"(",
"path",
"!=",
"null",
")",
"{",
"String",
"prefix",
"=",
"path",
".",
"segment",
"(",
"0",
")",
";",
"if",
"(",
"prefix",
".",
"equals",
"(",
"project",
".",
"getName",
"(",
")",
")",
")",
"{",
"if",
"(",
"path",
".",
"segmentCount",
"(",
")",
"==",
"1",
")",
"{",
"IPath",
"rawPath",
"=",
"project",
".",
"getRawLocation",
"(",
")",
";",
"if",
"(",
"rawPath",
"==",
"null",
")",
"{",
"System",
".",
"err",
".",
"println",
"(",
"\"\"",
"+",
"project",
")",
";",
"}",
"else",
"{",
"realLocation",
"=",
"project",
".",
"getRawLocation",
"(",
")",
".",
"toOSString",
"(",
")",
";",
"}",
"}",
"else",
"{",
"IPath",
"rawLocation",
"=",
"project",
".",
"getFile",
"(",
"path",
".",
"removeFirstSegments",
"(",
"1",
")",
")",
".",
"getRawLocation",
"(",
")",
";",
"if",
"(",
"rawLocation",
"!=",
"null",
")",
"{",
"realLocation",
"=",
"rawLocation",
".",
"toOSString",
"(",
")",
";",
"}",
"}",
"}",
"else",
"{",
"realLocation",
"=",
"path",
".",
"toOSString",
"(",
")",
";",
"}",
"}",
"return",
"realLocation",
";",
"}",
"public",
"static",
"String",
"calculateClasspath",
"(",
"IJavaProject",
"javaProject",
")",
"{",
"try",
"{",
"Set",
"accumulatedPathEntries",
"=",
"new",
"LinkedHashSet",
"(",
")",
";",
"IProject",
"project",
"=",
"javaProject",
".",
"getProject",
"(",
")",
";",
"String",
"projectName",
"=",
"project",
".",
"getName",
"(",
")",
";",
"IPath",
"defaultOutputPath",
"=",
"javaProject",
".",
"getOutputLocation",
"(",
")",
";",
"String",
"defaultOutputLocation",
"=",
"pathToString",
"(",
"defaultOutputPath",
",",
"project",
")",
";",
"IClasspathEntry",
"[",
"]",
"cpes",
"=",
"javaProject",
".",
"getResolvedClasspath",
"(",
"true",
")",
";",
"if",
"(",
"cpes",
"!=",
"null",
")",
"{",
"for",
"(",
"int",
"i",
"=",
"0",
",",
"max",
"=",
"cpes",
".",
"length",
";",
"i",
"<",
"max",
";",
"i",
"++",
")",
"{",
"IClasspathEntry",
"cpe",
"=",
"cpes",
"[",
"i",
"]",
";",
"if",
"(",
"cpe",
".",
"getEntryKind",
"(",
")",
"==",
"IClasspathEntry",
".",
"CPE_SOURCE",
")",
"{",
"continue",
";",
"}",
"IPath",
"cpePath",
"=",
"cpe",
".",
"getPath",
"(",
")",
";",
"String",
"pathElement",
"=",
"null",
";",
"String",
"segmentZero",
"=",
"cpePath",
".",
"segment",
"(",
"0",
")",
";",
"if",
"(",
"segmentZero",
".",
"equals",
"(",
"projectName",
")",
")",
"{",
"pathElement",
"=",
"project",
".",
"getFile",
"(",
"cpePath",
".",
"removeFirstSegments",
"(",
"1",
")",
")",
".",
"getRawLocation",
"(",
")",
".",
"toOSString",
"(",
")",
";",
"}",
"else",
"{",
"if",
"(",
"cpe",
".",
"getEntryKind",
"(",
")",
"==",
"IClasspathEntry",
".",
"CPE_LIBRARY",
")",
"{",
"try",
"{",
"IProject",
"iproject",
"=",
"project",
".",
"getWorkspace",
"(",
")",
".",
"getRoot",
"(",
")",
".",
"getProject",
"(",
"segmentZero",
")",
";",
"if",
"(",
"iproject",
"!=",
"null",
")",
"{",
"IFile",
"ifile",
"=",
"iproject",
".",
"getFile",
"(",
"cpePath",
".",
"removeFirstSegments",
"(",
"1",
")",
")",
";",
"IPath",
"ipath",
"=",
"(",
"ifile",
"==",
"null",
"?",
"null",
":",
"ifile",
".",
"getRawLocation",
"(",
")",
")",
";",
"pathElement",
"=",
"(",
"ipath",
"==",
"null",
"?",
"null",
":",
"ipath",
".",
"toOSString",
"(",
")",
")",
";",
"}",
"}",
"catch",
"(",
"Throwable",
"t",
")",
"{",
"t",
".",
"printStackTrace",
"(",
")",
";",
"}",
"}",
"if",
"(",
"cpe",
".",
"getEntryKind",
"(",
")",
"==",
"IClasspathEntry",
".",
"CPE_PROJECT",
")",
"{",
"computeDependenciesFromProject",
"(",
"project",
",",
"segmentZero",
",",
"accumulatedPathEntries",
")",
";",
"}",
"else",
"{",
"if",
"(",
"pathElement",
"==",
"null",
")",
"{",
"pathElement",
"=",
"cpe",
".",
"getPath",
"(",
")",
".",
"toOSString",
"(",
")",
";",
"}",
"}",
"}",
"if",
"(",
"pathElement",
"!=",
"null",
")",
"{",
"accumulatedPathEntries",
".",
"add",
"(",
"pathElement",
")",
";",
"}",
"}",
"accumulatedPathEntries",
".",
"add",
"(",
"defaultOutputLocation",
")",
";",
"StringBuilder",
"sb",
"=",
"new",
"StringBuilder",
"(",
")",
";",
"Iterator",
"iter",
"=",
"accumulatedPathEntries",
".",
"iterator",
"(",
")",
";",
"while",
"(",
"iter",
".",
"hasNext",
"(",
")",
")",
"{",
"sb",
".",
"append",
"(",
"(",
"String",
")",
"iter",
".",
"next",
"(",
")",
")",
";",
"sb",
".",
"append",
"(",
"File",
".",
"pathSeparator",
")",
";",
"}",
"String",
"classpath",
"=",
"sb",
".",
"toString",
"(",
")",
";",
"return",
"classpath",
";",
"}",
"}",
"catch",
"(",
"JavaModelException",
"jme",
")",
"{",
"System",
".",
"err",
".",
"println",
"(",
"\"\"",
"+",
"javaProject",
".",
"getProject",
"(",
")",
".",
"getName",
"(",
")",
"+",
"\":\"",
")",
";",
"jme",
".",
"printStackTrace",
"(",
")",
";",
"}",
"return",
"\"\"",
";",
"}",
"private",
"static",
"void",
"computeDependenciesFromProject",
"(",
"IProject",
"baseProject",
",",
"String",
"otherProject",
",",
"Set",
"accumulatedPathEntries",
")",
"throws",
"JavaModelException",
"{",
"IProject",
"iproject",
"=",
"baseProject",
".",
"getWorkspace",
"(",
")",
".",
"getRoot",
"(",
")",
".",
"getProject",
"(",
"otherProject",
")",
";",
"IJavaProject",
"ijp",
"=",
"JavaCore",
".",
"create",
"(",
"iproject",
")",
";",
"accumulatedPathEntries",
".",
"add",
"(",
"pathToString",
"(",
"ijp",
".",
"getOutputLocation",
"(",
")",
",",
"iproject",
")",
")",
";",
"IClasspathEntry",
"[",
"]",
"cpes",
"=",
"ijp",
".",
"getResolvedClasspath",
"(",
"true",
")",
";",
"if",
"(",
"cpes",
"!=",
"null",
")",
"{",
"for",
"(",
"int",
"j",
"=",
"0",
";",
"j",
"<",
"cpes",
".",
"length",
";",
"j",
"++",
")",
"{",
"IClasspathEntry",
"cpe",
"=",
"cpes",
"[",
"j",
"]",
";",
"if",
"(",
"cpe",
".",
"getEntryKind",
"(",
")",
"==",
"IClasspathEntry",
".",
"CPE_SOURCE",
")",
"{",
"continue",
";",
"}",
"if",
"(",
"cpe",
".",
"isExported",
"(",
")",
")",
"{",
"IPath",
"cpePath",
"=",
"cpes",
"[",
"j",
"]",
".",
"getPath",
"(",
")",
";",
"String",
"segmentZero",
"=",
"cpePath",
".",
"segment",
"(",
"0",
")",
";",
"if",
"(",
"segmentZero",
"!=",
"null",
"&&",
"segmentZero",
".",
"equals",
"(",
"otherProject",
")",
")",
"{",
"accumulatedPathEntries",
".",
"add",
"(",
"iproject",
".",
"getFile",
"(",
"cpePath",
".",
"removeFirstSegments",
"(",
"1",
")",
")",
".",
"getRawLocation",
"(",
")",
".",
"toOSString",
"(",
")",
")",
";",
"}",
"else",
"{",
"if",
"(",
"cpe",
".",
"getEntryKind",
"(",
")",
"==",
"IClasspathEntry",
".",
"CPE_PROJECT",
")",
"{",
"computeDependenciesFromProject",
"(",
"baseProject",
",",
"segmentZero",
",",
"accumulatedPathEntries",
")",
";",
"}",
"else",
"{",
"String",
"otherPathElement",
"=",
"null",
";",
"if",
"(",
"segmentZero",
"!=",
"null",
"&&",
"segmentZero",
".",
"equals",
"(",
"iproject",
".",
"getName",
"(",
")",
")",
")",
"{",
"otherPathElement",
"=",
"iproject",
".",
"getFile",
"(",
"cpePath",
".",
"removeFirstSegments",
"(",
"1",
")",
")",
".",
"getRawLocation",
"(",
")",
".",
"toOSString",
"(",
")",
";",
"}",
"else",
"{",
"otherPathElement",
"=",
"cpePath",
".",
"toOSString",
"(",
")",
";",
"}",
"accumulatedPathEntries",
".",
"add",
"(",
"otherPathElement",
")",
";",
"}",
"}",
"}",
"}",
"}",
"}",
"}",
"</s>"
] |
3,060 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IClassFileDisassembler",
"{",
"int",
"DETAILED",
"=",
"1",
";",
"int",
"DEFAULT",
"=",
"2",
";",
"String",
"disassemble",
"(",
"IClassFileReader",
"classFileReader",
",",
"String",
"lineSeparator",
")",
";",
"String",
"disassemble",
"(",
"IClassFileReader",
"classFileReader",
",",
"String",
"lineSeparator",
",",
"int",
"mode",
")",
";",
"}",
"</s>"
] |
3,061 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IVerificationTypeInfo",
"{",
"public",
"static",
"final",
"int",
"ITEM_TOP",
"=",
"0",
";",
"public",
"static",
"final",
"int",
"ITEM_INTEGER",
"=",
"1",
";",
"public",
"static",
"final",
"int",
"ITEM_FLOAT",
"=",
"2",
";",
"public",
"static",
"final",
"int",
"ITEM_DOUBLE",
"=",
"3",
";",
"public",
"static",
"final",
"int",
"ITEM_LONG",
"=",
"4",
";",
"public",
"static",
"final",
"int",
"ITEM_NULL",
"=",
"5",
";",
"public",
"static",
"final",
"int",
"ITEM_UNINITIALIZED_THIS",
"=",
"6",
";",
"public",
"static",
"final",
"int",
"ITEM_OBJECT",
"=",
"7",
";",
"public",
"static",
"final",
"int",
"ITEM_UNINITIALIZED",
"=",
"8",
";",
"int",
"getTag",
"(",
")",
";",
"int",
"getOffset",
"(",
")",
";",
"int",
"getConstantPoolIndex",
"(",
")",
";",
"char",
"[",
"]",
"getClassTypeName",
"(",
")",
";",
"}",
"</s>"
] |
3,062 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IRuntimeInvisibleAnnotationsAttribute",
"extends",
"IClassFileAttribute",
"{",
"int",
"getAnnotationsNumber",
"(",
")",
";",
"IAnnotation",
"[",
"]",
"getAnnotations",
"(",
")",
";",
"}",
"</s>"
] |
3,063 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IModifierConstants",
"{",
"int",
"ACC_PUBLIC",
"=",
"0x0001",
";",
"int",
"ACC_PRIVATE",
"=",
"0x0002",
";",
"int",
"ACC_PROTECTED",
"=",
"0x0004",
";",
"int",
"ACC_STATIC",
"=",
"0x0008",
";",
"int",
"ACC_FINAL",
"=",
"0x0010",
";",
"int",
"ACC_SUPER",
"=",
"0x0020",
";",
"int",
"ACC_SYNCHRONIZED",
"=",
"0x0020",
";",
"int",
"ACC_VOLATILE",
"=",
"0x0040",
";",
"int",
"ACC_BRIDGE",
"=",
"0x0040",
";",
"int",
"ACC_TRANSIENT",
"=",
"0x0080",
";",
"int",
"ACC_VARARGS",
"=",
"0x0080",
";",
"int",
"ACC_NATIVE",
"=",
"0x0100",
";",
"int",
"ACC_INTERFACE",
"=",
"0x0200",
";",
"int",
"ACC_ABSTRACT",
"=",
"0x0400",
";",
"int",
"ACC_STRICT",
"=",
"0x0800",
";",
"int",
"ACC_SYNTHETIC",
"=",
"0x1000",
";",
"int",
"ACC_ANNOTATION",
"=",
"0x2000",
";",
"int",
"ACC_ENUM",
"=",
"0x4000",
";",
"}",
"</s>"
] |
3,064 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"class",
"ByteCodeVisitorAdapter",
"implements",
"IBytecodeVisitor",
"{",
"public",
"void",
"_aaload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aconst_null",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aload_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aload_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aload_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aload_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_aload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_anewarray",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
"{",
"}",
"public",
"void",
"_areturn",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_arraylength",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_astore_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_astore_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_astore_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_astore_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_astore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_athrow",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_baload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_bastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_bipush",
"(",
"int",
"pc",
",",
"byte",
"_byte",
")",
"{",
"}",
"public",
"void",
"_caload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_castore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_checkcast",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
"{",
"}",
"public",
"void",
"_d2f",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_d2i",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_d2l",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dadd",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_daload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dcmpg",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dcmpl",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dconst_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dconst_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ddiv",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dload_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dload_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dload_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dload_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_dmul",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dneg",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_drem",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dreturn",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dstore_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dstore_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dstore_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dstore_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dstore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_dsub",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dup_x1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dup_x2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dup",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dup2_x1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dup2_x2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_dup2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_f2d",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_f2i",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_f2l",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fadd",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_faload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fcmpg",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fcmpl",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fconst_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fconst_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fconst_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fdiv",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fload_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fload_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fload_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fload_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_fmul",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fneg",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_frem",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_freturn",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fstore_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fstore_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fstore_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fstore_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_fstore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_fsub",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_getfield",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
"{",
"}",
"public",
"void",
"_getstatic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
"{",
"}",
"public",
"void",
"_goto_w",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_goto",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_i2b",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_i2c",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_i2d",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_i2f",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_i2l",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_i2s",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iadd",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iaload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iand",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_4",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_5",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iconst_m1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_idiv",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_if_acmpeq",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_acmpne",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_icmpeq",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_icmpge",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_icmpgt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_icmple",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_icmplt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_if_icmpne",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifeq",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifge",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifgt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifle",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_iflt",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifne",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifnonnull",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_ifnull",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_iinc",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"int",
"_const",
")",
"{",
"}",
"public",
"void",
"_iload_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iload_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iload_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iload_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_imul",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ineg",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_instanceof",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
"{",
"}",
"public",
"void",
"_invokedynamic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"nameEntry",
",",
"IConstantPoolEntry",
"descriptorEntry",
")",
"{",
"}",
"public",
"void",
"_invokedynamic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"invokeDynamicEntry",
")",
"{",
"}",
"public",
"void",
"_invokeinterface",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"byte",
"nargs",
",",
"IConstantPoolEntry",
"constantInterfaceMethodref",
")",
"{",
"}",
"public",
"void",
"_invokespecial",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantMethodref",
")",
"{",
"}",
"public",
"void",
"_invokestatic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantMethodref",
")",
"{",
"}",
"public",
"void",
"_invokevirtual",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantMethodref",
")",
"{",
"}",
"public",
"void",
"_ior",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_irem",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ireturn",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ishl",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ishr",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_istore_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_istore_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_istore_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_istore_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_istore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_isub",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_iushr",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ixor",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_jsr_w",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_jsr",
"(",
"int",
"pc",
",",
"int",
"branchOffset",
")",
"{",
"}",
"public",
"void",
"_l2d",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_l2f",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_l2i",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ladd",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_laload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_land",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lcmp",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lconst_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lconst_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_ldc_w",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantPoolEntry",
")",
"{",
"}",
"public",
"void",
"_ldc",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantPoolEntry",
")",
"{",
"}",
"public",
"void",
"_ldc2_w",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantPoolEntry",
")",
"{",
"}",
"public",
"void",
"_ldiv",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lload_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lload_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lload_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lload_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lload",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_lmul",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lneg",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lookupswitch",
"(",
"int",
"pc",
",",
"int",
"defaultoffset",
",",
"int",
"npairs",
",",
"int",
"[",
"]",
"[",
"]",
"offset_pairs",
")",
"{",
"}",
"public",
"void",
"_lor",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lrem",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lreturn",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lshl",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lshr",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lstore_0",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lstore_1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lstore_2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lstore_3",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lstore",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_lsub",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lushr",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_lxor",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_monitorenter",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_monitorexit",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_multianewarray",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"int",
"dimensions",
",",
"IConstantPoolEntry",
"constantClass",
")",
"{",
"}",
"public",
"void",
"_new",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantClass",
")",
"{",
"}",
"public",
"void",
"_newarray",
"(",
"int",
"pc",
",",
"int",
"atype",
")",
"{",
"}",
"public",
"void",
"_nop",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_pop",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_pop2",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_putfield",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
"{",
"}",
"public",
"void",
"_putstatic",
"(",
"int",
"pc",
",",
"int",
"index",
",",
"IConstantPoolEntry",
"constantFieldref",
")",
"{",
"}",
"public",
"void",
"_ret",
"(",
"int",
"pc",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_return",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_saload",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_sastore",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_sipush",
"(",
"int",
"pc",
",",
"short",
"value",
")",
"{",
"}",
"public",
"void",
"_swap",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_tableswitch",
"(",
"int",
"pc",
",",
"int",
"defaultoffset",
",",
"int",
"low",
",",
"int",
"high",
",",
"int",
"[",
"]",
"jump_offsets",
")",
"{",
"}",
"public",
"void",
"_wide",
"(",
"int",
"pc",
",",
"int",
"iincopcode",
",",
"int",
"index",
",",
"int",
"_const",
")",
"{",
"}",
"public",
"void",
"_wide",
"(",
"int",
"pc",
",",
"int",
"opcode",
",",
"int",
"index",
")",
"{",
"}",
"public",
"void",
"_breakpoint",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_impdep1",
"(",
"int",
"pc",
")",
"{",
"}",
"public",
"void",
"_impdep2",
"(",
"int",
"pc",
")",
"{",
"}",
"}",
"</s>"
] |
3,065 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IClassFileAttribute",
"{",
"int",
"getAttributeNameIndex",
"(",
")",
";",
"char",
"[",
"]",
"getAttributeName",
"(",
")",
";",
"long",
"getAttributeLength",
"(",
")",
";",
"}",
"</s>"
] |
3,066 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IAnnotationComponentValue",
"{",
"int",
"BYTE_TAG",
"=",
"'B'",
";",
"int",
"CHAR_TAG",
"=",
"'C'",
";",
"int",
"DOUBLE_TAG",
"=",
"'D'",
";",
"int",
"FLOAT_TAG",
"=",
"'F'",
";",
"int",
"INTEGER_TAG",
"=",
"'I'",
";",
"int",
"LONG_TAG",
"=",
"'J'",
";",
"int",
"SHORT_TAG",
"=",
"'S'",
";",
"int",
"BOOLEAN_TAG",
"=",
"'Z'",
";",
"int",
"STRING_TAG",
"=",
"'s'",
";",
"int",
"ENUM_TAG",
"=",
"'e'",
";",
"int",
"CLASS_TAG",
"=",
"'c'",
";",
"int",
"ANNOTATION_TAG",
"=",
"'@'",
";",
"int",
"ARRAY_TAG",
"=",
"'['",
";",
"IAnnotationComponentValue",
"[",
"]",
"getAnnotationComponentValues",
"(",
")",
";",
"IAnnotation",
"getAnnotationValue",
"(",
")",
";",
"IConstantPoolEntry",
"getClassInfo",
"(",
")",
";",
"int",
"getClassInfoIndex",
"(",
")",
";",
"IConstantPoolEntry",
"getConstantValue",
"(",
")",
";",
"int",
"getConstantValueIndex",
"(",
")",
";",
"char",
"[",
"]",
"getEnumConstantName",
"(",
")",
";",
"int",
"getEnumConstantNameIndex",
"(",
")",
";",
"char",
"[",
"]",
"getEnumConstantTypeName",
"(",
")",
";",
"int",
"getEnumConstantTypeNameIndex",
"(",
")",
";",
"int",
"getTag",
"(",
")",
";",
"int",
"getValuesNumber",
"(",
")",
";",
"}",
"</s>"
] |
3,067 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"util",
";",
"public",
"interface",
"IExceptionTableEntry",
"{",
"int",
"getStartPC",
"(",
")",
";",
"int",
"getEndPC",
"(",
")",
";",
"int",
"getHandlerPC",
"(",
")",
";",
"int",
"getCatchTypeIndex",
"(",
")",
";",
"char",
"[",
"]",
"getCatchType",
"(",
")",
";",
"}",
"</s>"
] |
3,068 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"util",
".",
"Hashtable",
";",
"import",
"java",
".",
"util",
".",
"Map",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"*",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"*",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"impl",
".",
"CompilerOptions",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"parser",
".",
"*",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"compiler",
".",
"problem",
".",
"ProblemReporter",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"Messages",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"internal",
".",
"core",
".",
"util",
".",
"Util",
";",
"public",
"class",
"CorrectionEngine",
"{",
"protected",
"int",
"correctionStart",
";",
"protected",
"int",
"correctionEnd",
";",
"protected",
"int",
"prefixLength",
";",
"protected",
"ICompilationUnit",
"compilationUnit",
";",
"protected",
"ICorrectionRequestor",
"correctionRequestor",
";",
"protected",
"static",
"final",
"int",
"CLASSES",
"=",
"0x00000001",
";",
"protected",
"static",
"final",
"int",
"INTERFACES",
"=",
"0x00000002",
";",
"protected",
"static",
"final",
"int",
"IMPORT",
"=",
"0x00000004",
";",
"protected",
"static",
"final",
"int",
"METHOD",
"=",
"0x00000008",
";",
"protected",
"static",
"final",
"int",
"FIELD",
"=",
"0x00000010",
";",
"protected",
"static",
"final",
"int",
"LOCAL",
"=",
"0x00000020",
";",
"protected",
"int",
"filter",
";",
"public",
"CorrectionEngine",
"(",
"Map",
"setting",
")",
"{",
"}",
"public",
"void",
"computeCorrections",
"(",
"IMarker",
"marker",
",",
"ICompilationUnit",
"targetUnit",
",",
"int",
"positionOffset",
",",
"ICorrectionRequestor",
"requestor",
")",
"throws",
"JavaModelException",
"{",
"IJavaElement",
"element",
"=",
"targetUnit",
"==",
"null",
"?",
"JavaCore",
".",
"create",
"(",
"marker",
".",
"getResource",
"(",
")",
")",
":",
"targetUnit",
";",
"if",
"(",
"!",
"(",
"element",
"instanceof",
"ICompilationUnit",
")",
")",
"return",
";",
"ICompilationUnit",
"unit",
"=",
"(",
"ICompilationUnit",
")",
"element",
";",
"int",
"id",
"=",
"marker",
".",
"getAttribute",
"(",
"IJavaModelMarker",
".",
"ID",
",",
"-",
"1",
")",
";",
"String",
"[",
"]",
"args",
"=",
"Util",
".",
"getProblemArgumentsFromMarker",
"(",
"marker",
".",
"getAttribute",
"(",
"IJavaModelMarker",
".",
"ARGUMENTS",
",",
"\"\"",
")",
")",
";",
"int",
"start",
"=",
"marker",
".",
"getAttribute",
"(",
"IMarker",
".",
"CHAR_START",
",",
"-",
"1",
")",
";",
"int",
"end",
"=",
"marker",
".",
"getAttribute",
"(",
"IMarker",
".",
"CHAR_END",
",",
"-",
"1",
")",
";",
"computeCorrections",
"(",
"unit",
",",
"id",
",",
"start",
"+",
"positionOffset",
",",
"end",
"+",
"positionOffset",
",",
"args",
",",
"requestor",
")",
";",
"}",
"public",
"void",
"computeCorrections",
"(",
"IProblem",
"problem",
",",
"ICompilationUnit",
"targetUnit",
",",
"ICorrectionRequestor",
"requestor",
")",
"throws",
"JavaModelException",
"{",
"if",
"(",
"requestor",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"Messages",
".",
"correction_nullUnit",
")",
";",
"}",
"this",
".",
"computeCorrections",
"(",
"targetUnit",
",",
"problem",
".",
"getID",
"(",
")",
",",
"problem",
".",
"getSourceStart",
"(",
")",
",",
"problem",
".",
"getSourceEnd",
"(",
")",
",",
"problem",
".",
"getArguments",
"(",
")",
",",
"requestor",
")",
";",
"}",
"private",
"void",
"computeCorrections",
"(",
"ICompilationUnit",
"unit",
",",
"int",
"id",
",",
"int",
"start",
",",
"int",
"end",
",",
"String",
"[",
"]",
"arguments",
",",
"ICorrectionRequestor",
"requestor",
")",
"{",
"if",
"(",
"id",
"==",
"-",
"1",
"||",
"arguments",
"==",
"null",
"||",
"start",
"==",
"-",
"1",
"||",
"end",
"==",
"-",
"1",
")",
"return",
";",
"if",
"(",
"requestor",
"==",
"null",
")",
"{",
"throw",
"new",
"IllegalArgumentException",
"(",
"Messages",
".",
"correction_nullRequestor",
")",
";",
"}",
"this",
".",
"correctionRequestor",
"=",
"requestor",
";",
"this",
".",
"correctionStart",
"=",
"start",
";",
"this",
".",
"correctionEnd",
"=",
"end",
";",
"this",
".",
"compilationUnit",
"=",
"unit",
";",
"String",
"argument",
"=",
"null",
";",
"try",
"{",
"switch",
"(",
"id",
")",
"{",
"case",
"IProblem",
".",
"ImportNotFound",
":",
"this",
".",
"filter",
"=",
"IMPORT",
";",
"argument",
"=",
"arguments",
"[",
"0",
"]",
";",
"break",
";",
"case",
"IProblem",
".",
"UndefinedType",
":",
"this",
".",
"filter",
"=",
"CLASSES",
"|",
"INTERFACES",
";",
"argument",
"=",
"arguments",
"[",
"0",
"]",
";",
"break",
";",
"case",
"IProblem",
".",
"UndefinedMethod",
":",
"this",
".",
"filter",
"=",
"METHOD",
";",
"argument",
"=",
"arguments",
"[",
"1",
"]",
";",
"break",
";",
"case",
"IProblem",
".",
"UndefinedField",
":",
"this",
".",
"filter",
"=",
"FIELD",
";",
"argument",
"=",
"arguments",
"[",
"0",
"]",
";",
"break",
";",
"case",
"IProblem",
".",
"UndefinedName",
":",
"case",
"IProblem",
".",
"UnresolvedVariable",
":",
"this",
".",
"filter",
"=",
"FIELD",
"|",
"LOCAL",
";",
"argument",
"=",
"arguments",
"[",
"0",
"]",
";",
"break",
";",
"}",
"}",
"catch",
"(",
"ArrayIndexOutOfBoundsException",
"e",
")",
"{",
"return",
";",
"}",
"if",
"(",
"argument",
"!=",
"null",
")",
"{",
"correct",
"(",
"argument",
".",
"toCharArray",
"(",
")",
")",
";",
"}",
"}",
"private",
"void",
"correct",
"(",
"char",
"[",
"]",
"argument",
")",
"{",
"try",
"{",
"String",
"source",
"=",
"this",
".",
"compilationUnit",
".",
"getSource",
"(",
")",
";",
"Map",
"currentProjectOptions",
"=",
"this",
".",
"compilationUnit",
".",
"getJavaProject",
"(",
")",
".",
"getOptions",
"(",
"true",
")",
";",
"long",
"sourceLevel",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"currentProjectOptions",
".",
"get",
"(",
"JavaCore",
".",
"COMPILER_SOURCE",
")",
")",
";",
"long",
"complianceLevel",
"=",
"CompilerOptions",
".",
"versionToJdkLevel",
"(",
"currentProjectOptions",
".",
"get",
"(",
"JavaCore",
".",
"COMPILER_COMPLIANCE",
")",
")",
";",
"Scanner",
"scanner",
"=",
"new",
"Scanner",
"(",
"false",
",",
"false",
",",
"false",
",",
"sourceLevel",
",",
"complianceLevel",
",",
"null",
",",
"null",
",",
"true",
")",
";",
"scanner",
".",
"setSource",
"(",
"source",
".",
"toCharArray",
"(",
")",
")",
";",
"scanner",
".",
"resetTo",
"(",
"this",
".",
"correctionStart",
",",
"this",
".",
"correctionEnd",
")",
";",
"int",
"token",
"=",
"0",
";",
"char",
"[",
"]",
"argumentSource",
"=",
"CharOperation",
".",
"NO_CHAR",
";",
"while",
"(",
"true",
")",
"{",
"token",
"=",
"scanner",
".",
"getNextToken",
"(",
")",
";",
"if",
"(",
"token",
"==",
"TerminalTokens",
".",
"TokenNameEOF",
")",
"return",
";",
"char",
"[",
"]",
"tokenSource",
"=",
"scanner",
".",
"getCurrentTokenSource",
"(",
")",
";",
"argumentSource",
"=",
"CharOperation",
".",
"concat",
"(",
"argumentSource",
",",
"tokenSource",
")",
";",
"if",
"(",
"!",
"CharOperation",
".",
"prefixEquals",
"(",
"argumentSource",
",",
"argument",
")",
")",
"return",
";",
"if",
"(",
"CharOperation",
".",
"equals",
"(",
"argument",
",",
"argumentSource",
")",
")",
"{",
"this",
".",
"correctionStart",
"=",
"scanner",
".",
"startPosition",
";",
"this",
".",
"correctionEnd",
"=",
"scanner",
".",
"currentPosition",
";",
"this",
".",
"prefixLength",
"=",
"CharOperation",
".",
"lastIndexOf",
"(",
"'.'",
",",
"argument",
")",
"+",
"1",
";",
"break",
";",
"}",
"}",
"int",
"completionPosition",
"=",
"this",
".",
"correctionStart",
";",
"scanner",
".",
"resetTo",
"(",
"completionPosition",
",",
"this",
".",
"correctionEnd",
")",
";",
"int",
"position",
"=",
"completionPosition",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"4",
";",
"i",
"++",
")",
"{",
"if",
"(",
"scanner",
".",
"getNextCharAsJavaIdentifierPart",
"(",
")",
")",
"{",
"completionPosition",
"=",
"position",
";",
"position",
"=",
"scanner",
".",
"currentPosition",
";",
"}",
"else",
"{",
"break",
";",
"}",
"}",
"Hashtable",
"oldOptions",
"=",
"JavaCore",
".",
"getOptions",
"(",
")",
";",
"try",
"{",
"Hashtable",
"options",
"=",
"new",
"Hashtable",
"(",
"oldOptions",
")",
";",
"options",
".",
"put",
"(",
"JavaCore",
".",
"CODEASSIST_CAMEL_CASE_MATCH",
",",
"JavaCore",
".",
"DISABLED",
")",
";",
"JavaCore",
".",
"setOptions",
"(",
"options",
")",
";",
"this",
".",
"compilationUnit",
".",
"codeComplete",
"(",
"completionPosition",
",",
"this",
".",
"completionRequestor",
")",
";",
"}",
"finally",
"{",
"JavaCore",
".",
"setOptions",
"(",
"oldOptions",
")",
";",
"}",
"}",
"catch",
"(",
"JavaModelException",
"e",
")",
"{",
"return",
";",
"}",
"catch",
"(",
"InvalidInputException",
"e",
")",
"{",
"return",
";",
"}",
"}",
"protected",
"CompletionRequestor",
"completionRequestor",
"=",
"new",
"CompletionRequestor",
"(",
")",
"{",
"public",
"void",
"accept",
"(",
"CompletionProposal",
"proposal",
")",
"{",
"switch",
"(",
"proposal",
".",
"getKind",
"(",
")",
")",
"{",
"case",
"CompletionProposal",
".",
"TYPE_REF",
":",
"int",
"flags",
"=",
"proposal",
".",
"getFlags",
"(",
")",
";",
"if",
"(",
"!",
"(",
"Flags",
".",
"isEnum",
"(",
"flags",
")",
"||",
"Flags",
".",
"isAnnotation",
"(",
"flags",
")",
")",
")",
"{",
"if",
"(",
"(",
"CorrectionEngine",
".",
"this",
".",
"filter",
"&",
"(",
"CLASSES",
"|",
"INTERFACES",
")",
")",
"!=",
"0",
")",
"{",
"char",
"[",
"]",
"completionName",
"=",
"proposal",
".",
"getCompletion",
"(",
")",
";",
"CorrectionEngine",
".",
"this",
".",
"correctionRequestor",
".",
"acceptClass",
"(",
"proposal",
".",
"getDeclarationSignature",
"(",
")",
",",
"Signature",
".",
"getSignatureSimpleName",
"(",
"proposal",
".",
"getSignature",
"(",
")",
")",
",",
"CharOperation",
".",
"subarray",
"(",
"completionName",
",",
"CorrectionEngine",
".",
"this",
".",
"prefixLength",
",",
"completionName",
".",
"length",
")",
",",
"proposal",
".",
"getFlags",
"(",
")",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionStart",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionEnd",
")",
";",
"}",
"else",
"if",
"(",
"(",
"CorrectionEngine",
".",
"this",
".",
"filter",
"&",
"IMPORT",
")",
"!=",
"0",
")",
"{",
"char",
"[",
"]",
"packageName",
"=",
"proposal",
".",
"getDeclarationSignature",
"(",
")",
";",
"char",
"[",
"]",
"className",
"=",
"Signature",
".",
"getSignatureSimpleName",
"(",
"proposal",
".",
"getSignature",
"(",
")",
")",
";",
"char",
"[",
"]",
"fullName",
"=",
"CharOperation",
".",
"concat",
"(",
"packageName",
",",
"className",
",",
"'.'",
")",
";",
"CorrectionEngine",
".",
"this",
".",
"correctionRequestor",
".",
"acceptClass",
"(",
"packageName",
",",
"className",
",",
"CharOperation",
".",
"subarray",
"(",
"fullName",
",",
"CorrectionEngine",
".",
"this",
".",
"prefixLength",
",",
"fullName",
".",
"length",
")",
",",
"proposal",
".",
"getFlags",
"(",
")",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionStart",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionEnd",
")",
";",
"}",
"}",
"break",
";",
"case",
"CompletionProposal",
".",
"FIELD_REF",
":",
"if",
"(",
"(",
"CorrectionEngine",
".",
"this",
".",
"filter",
"&",
"FIELD",
")",
"!=",
"0",
")",
"{",
"char",
"[",
"]",
"declaringSignature",
"=",
"proposal",
".",
"getDeclarationSignature",
"(",
")",
";",
"char",
"[",
"]",
"signature",
"=",
"proposal",
".",
"getSignature",
"(",
")",
";",
"CorrectionEngine",
".",
"this",
".",
"correctionRequestor",
".",
"acceptField",
"(",
"Signature",
".",
"getSignatureQualifier",
"(",
"declaringSignature",
")",
",",
"Signature",
".",
"getSignatureSimpleName",
"(",
"declaringSignature",
")",
",",
"proposal",
".",
"getName",
"(",
")",
",",
"Signature",
".",
"getSignatureQualifier",
"(",
"signature",
")",
",",
"Signature",
".",
"getSignatureSimpleName",
"(",
"signature",
")",
",",
"proposal",
".",
"getName",
"(",
")",
",",
"proposal",
".",
"getFlags",
"(",
")",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionStart",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionEnd",
")",
";",
"}",
"break",
";",
"case",
"CompletionProposal",
".",
"LOCAL_VARIABLE_REF",
":",
"if",
"(",
"(",
"CorrectionEngine",
".",
"this",
".",
"filter",
"&",
"LOCAL",
")",
"!=",
"0",
")",
"{",
"char",
"[",
"]",
"signature",
"=",
"proposal",
".",
"getSignature",
"(",
")",
";",
"CorrectionEngine",
".",
"this",
".",
"correctionRequestor",
".",
"acceptLocalVariable",
"(",
"proposal",
".",
"getName",
"(",
")",
",",
"Signature",
".",
"getSignatureQualifier",
"(",
"signature",
")",
",",
"Signature",
".",
"getSignatureSimpleName",
"(",
"signature",
")",
",",
"proposal",
".",
"getFlags",
"(",
")",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionStart",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionEnd",
")",
";",
"}",
"break",
";",
"case",
"CompletionProposal",
".",
"METHOD_REF",
":",
"if",
"(",
"(",
"CorrectionEngine",
".",
"this",
".",
"filter",
"&",
"METHOD",
")",
"!=",
"0",
")",
"{",
"char",
"[",
"]",
"declaringSignature",
"=",
"proposal",
".",
"getDeclarationSignature",
"(",
")",
";",
"char",
"[",
"]",
"signature",
"=",
"proposal",
".",
"getSignature",
"(",
")",
";",
"char",
"[",
"]",
"[",
"]",
"parameterTypeSignatures",
"=",
"Signature",
".",
"getParameterTypes",
"(",
"signature",
")",
";",
"int",
"length",
"=",
"parameterTypeSignatures",
".",
"length",
";",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
"=",
"new",
"char",
"[",
"length",
"]",
"[",
"]",
";",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
"=",
"new",
"char",
"[",
"length",
"]",
"[",
"]",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"length",
";",
"i",
"++",
")",
"{",
"parameterPackageNames",
"[",
"i",
"]",
"=",
"Signature",
".",
"getSignatureQualifier",
"(",
"parameterTypeSignatures",
"[",
"i",
"]",
")",
";",
"parameterTypeNames",
"[",
"i",
"]",
"=",
"Signature",
".",
"getSignatureSimpleName",
"(",
"parameterTypeSignatures",
"[",
"i",
"]",
")",
";",
"}",
"char",
"[",
"]",
"returnTypeSignature",
"=",
"Signature",
".",
"getReturnType",
"(",
"signature",
")",
";",
"CorrectionEngine",
".",
"this",
".",
"correctionRequestor",
".",
"acceptMethod",
"(",
"Signature",
".",
"getSignatureQualifier",
"(",
"declaringSignature",
")",
",",
"Signature",
".",
"getSignatureSimpleName",
"(",
"declaringSignature",
")",
",",
"proposal",
".",
"getName",
"(",
")",
",",
"parameterPackageNames",
",",
"parameterTypeNames",
",",
"proposal",
".",
"findParameterNames",
"(",
"null",
")",
",",
"Signature",
".",
"getSignatureQualifier",
"(",
"returnTypeSignature",
")",
",",
"Signature",
".",
"getSignatureSimpleName",
"(",
"returnTypeSignature",
")",
",",
"proposal",
".",
"getName",
"(",
")",
",",
"proposal",
".",
"getFlags",
"(",
")",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionStart",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionEnd",
")",
";",
"}",
"break",
";",
"case",
"CompletionProposal",
".",
"PACKAGE_REF",
":",
"if",
"(",
"(",
"CorrectionEngine",
".",
"this",
".",
"filter",
"&",
"(",
"CLASSES",
"|",
"INTERFACES",
"|",
"IMPORT",
")",
")",
"!=",
"0",
")",
"{",
"char",
"[",
"]",
"packageName",
"=",
"proposal",
".",
"getDeclarationSignature",
"(",
")",
";",
"CorrectionEngine",
".",
"this",
".",
"correctionRequestor",
".",
"acceptPackage",
"(",
"packageName",
",",
"CharOperation",
".",
"subarray",
"(",
"packageName",
",",
"CorrectionEngine",
".",
"this",
".",
"prefixLength",
",",
"packageName",
".",
"length",
")",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionStart",
",",
"CorrectionEngine",
".",
"this",
".",
"correctionEnd",
")",
";",
"}",
"break",
";",
"}",
"}",
"}",
";",
"public",
"static",
"String",
"[",
"]",
"getAllWarningTokens",
"(",
")",
"{",
"return",
"CompilerOptions",
".",
"warningTokens",
";",
"}",
"public",
"static",
"String",
"[",
"]",
"getProblemArguments",
"(",
"IMarker",
"problemMarker",
")",
"{",
"String",
"argumentsString",
"=",
"problemMarker",
".",
"getAttribute",
"(",
"IJavaModelMarker",
".",
"ARGUMENTS",
",",
"null",
")",
";",
"return",
"Util",
".",
"getProblemArgumentsFromMarker",
"(",
"argumentsString",
")",
";",
"}",
"public",
"static",
"String",
"getWarningToken",
"(",
"int",
"problemID",
")",
"{",
"int",
"irritant",
"=",
"ProblemReporter",
".",
"getIrritant",
"(",
"problemID",
")",
";",
"if",
"(",
"irritant",
"!=",
"0",
")",
"{",
"return",
"CompilerOptions",
".",
"warningTokenFromIrritant",
"(",
"irritant",
")",
";",
"}",
"return",
"null",
";",
"}",
"}",
"</s>"
] |
3,069 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"ICodeFormatter",
"{",
"String",
"format",
"(",
"String",
"string",
",",
"int",
"indentationLevel",
",",
"int",
"[",
"]",
"positions",
",",
"String",
"lineSeparator",
")",
";",
"}",
"</s>"
] |
3,070 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"util",
".",
"Map",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IProject",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"resources",
".",
"IResource",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"IAnnotationBinding",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"IMethodBinding",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"IPackageBinding",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"ITypeBinding",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"IVariableBinding",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"eval",
".",
"IEvaluationContext",
";",
"public",
"interface",
"IJavaProject",
"extends",
"IParent",
",",
"IJavaElement",
",",
"IOpenable",
"{",
"String",
"CLASSPATH_FILE_NAME",
"=",
"\".classpath\"",
";",
"IClasspathEntry",
"decodeClasspathEntry",
"(",
"String",
"encodedEntry",
")",
";",
"String",
"encodeClasspathEntry",
"(",
"IClasspathEntry",
"classpathEntry",
")",
";",
"IJavaElement",
"findElement",
"(",
"IPath",
"path",
")",
"throws",
"JavaModelException",
";",
"IJavaElement",
"findElement",
"(",
"IPath",
"path",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"IJavaElement",
"findElement",
"(",
"String",
"bindingKey",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"IPackageFragment",
"findPackageFragment",
"(",
"IPath",
"path",
")",
"throws",
"JavaModelException",
";",
"IPackageFragmentRoot",
"findPackageFragmentRoot",
"(",
"IPath",
"path",
")",
"throws",
"JavaModelException",
";",
"IPackageFragmentRoot",
"[",
"]",
"findPackageFragmentRoots",
"(",
"IClasspathEntry",
"entry",
")",
";",
"IType",
"findType",
"(",
"String",
"fullyQualifiedName",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"fullyQualifiedName",
",",
"IProgressMonitor",
"progressMonitor",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"fullyQualifiedName",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"fullyQualifiedName",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"progressMonitor",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"packageName",
",",
"String",
"typeQualifiedName",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"packageName",
",",
"String",
"typeQualifiedName",
",",
"IProgressMonitor",
"progressMonitor",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"packageName",
",",
"String",
"typeQualifiedName",
",",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"IType",
"findType",
"(",
"String",
"packageName",
",",
"String",
"typeQualifiedName",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"progressMonitor",
")",
"throws",
"JavaModelException",
";",
"IPackageFragmentRoot",
"[",
"]",
"getAllPackageFragmentRoots",
"(",
")",
"throws",
"JavaModelException",
";",
"Object",
"[",
"]",
"getNonJavaResources",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"getOption",
"(",
"String",
"optionName",
",",
"boolean",
"inheritJavaCoreOptions",
")",
";",
"Map",
"getOptions",
"(",
"boolean",
"inheritJavaCoreOptions",
")",
";",
"IPath",
"getOutputLocation",
"(",
")",
"throws",
"JavaModelException",
";",
"IPackageFragmentRoot",
"getPackageFragmentRoot",
"(",
"String",
"externalLibraryPath",
")",
";",
"IPackageFragmentRoot",
"getPackageFragmentRoot",
"(",
"IResource",
"resource",
")",
";",
"IPackageFragmentRoot",
"[",
"]",
"getPackageFragmentRoots",
"(",
")",
"throws",
"JavaModelException",
";",
"IPackageFragmentRoot",
"[",
"]",
"getPackageFragmentRoots",
"(",
"IClasspathEntry",
"entry",
")",
";",
"IPackageFragment",
"[",
"]",
"getPackageFragments",
"(",
")",
"throws",
"JavaModelException",
";",
"IProject",
"getProject",
"(",
")",
";",
"IClasspathEntry",
"[",
"]",
"getRawClasspath",
"(",
")",
"throws",
"JavaModelException",
";",
"String",
"[",
"]",
"getRequiredProjectNames",
"(",
")",
"throws",
"JavaModelException",
";",
"IClasspathEntry",
"[",
"]",
"getResolvedClasspath",
"(",
"boolean",
"ignoreUnresolvedEntry",
")",
"throws",
"JavaModelException",
";",
"boolean",
"hasBuildState",
"(",
")",
";",
"boolean",
"hasClasspathCycle",
"(",
"IClasspathEntry",
"[",
"]",
"entries",
")",
";",
"boolean",
"isOnClasspath",
"(",
"IJavaElement",
"element",
")",
";",
"boolean",
"isOnClasspath",
"(",
"IResource",
"resource",
")",
";",
"IEvaluationContext",
"newEvaluationContext",
"(",
")",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IRegion",
"region",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IRegion",
"region",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IType",
"type",
",",
"IRegion",
"region",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ITypeHierarchy",
"newTypeHierarchy",
"(",
"IType",
"type",
",",
"IRegion",
"region",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IPath",
"readOutputLocation",
"(",
")",
";",
"IClasspathEntry",
"[",
"]",
"readRawClasspath",
"(",
")",
";",
"void",
"setOption",
"(",
"String",
"optionName",
",",
"String",
"optionValue",
")",
";",
"void",
"setOptions",
"(",
"Map",
"newOptions",
")",
";",
"void",
"setOutputLocation",
"(",
"IPath",
"path",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"setRawClasspath",
"(",
"IClasspathEntry",
"[",
"]",
"entries",
",",
"IPath",
"outputLocation",
",",
"boolean",
"canModifyResources",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"setRawClasspath",
"(",
"IClasspathEntry",
"[",
"]",
"entries",
",",
"boolean",
"canModifyResources",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"setRawClasspath",
"(",
"IClasspathEntry",
"[",
"]",
"entries",
",",
"IClasspathEntry",
"[",
"]",
"referencedEntries",
",",
"IPath",
"outputLocation",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IClasspathEntry",
"[",
"]",
"getReferencedClasspathEntries",
"(",
")",
"throws",
"JavaModelException",
";",
"void",
"setRawClasspath",
"(",
"IClasspathEntry",
"[",
"]",
"entries",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"setRawClasspath",
"(",
"IClasspathEntry",
"[",
"]",
"entries",
",",
"IPath",
"outputLocation",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,071 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IStatus",
";",
"public",
"interface",
"IJavaModelStatus",
"extends",
"IStatus",
"{",
"IJavaElement",
"[",
"]",
"getElements",
"(",
")",
";",
"IPath",
"getPath",
"(",
")",
";",
"String",
"getString",
"(",
")",
";",
"boolean",
"isDoesNotExist",
"(",
")",
";",
"}",
"</s>"
] |
3,072 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"ASTParser",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"CompilationUnit",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"AST",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"dom",
".",
"IBinding",
";",
"import",
"org",
".",
"eclipse",
".",
"text",
".",
"edits",
".",
"TextEdit",
";",
"import",
"org",
".",
"eclipse",
".",
"text",
".",
"edits",
".",
"UndoEdit",
";",
"public",
"interface",
"ICompilationUnit",
"extends",
"ITypeRoot",
",",
"IWorkingCopy",
",",
"ISourceManipulation",
"{",
"public",
"static",
"final",
"int",
"NO_AST",
"=",
"0",
";",
"public",
"static",
"final",
"int",
"FORCE_PROBLEM_DETECTION",
"=",
"0x01",
";",
"public",
"static",
"final",
"int",
"ENABLE_STATEMENTS_RECOVERY",
"=",
"0x02",
";",
"public",
"static",
"final",
"int",
"ENABLE_BINDINGS_RECOVERY",
"=",
"0x04",
";",
"public",
"static",
"final",
"int",
"IGNORE_METHOD_BODIES",
"=",
"0x08",
";",
"public",
"UndoEdit",
"applyTextEdit",
"(",
"TextEdit",
"edit",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"becomeWorkingCopy",
"(",
"IProblemRequestor",
"problemRequestor",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"becomeWorkingCopy",
"(",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"commitWorkingCopy",
"(",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IImportDeclaration",
"createImport",
"(",
"String",
"name",
",",
"IJavaElement",
"sibling",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IImportDeclaration",
"createImport",
"(",
"String",
"name",
",",
"IJavaElement",
"sibling",
",",
"int",
"flags",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IPackageDeclaration",
"createPackageDeclaration",
"(",
"String",
"name",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IType",
"createType",
"(",
"String",
"contents",
",",
"IJavaElement",
"sibling",
",",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"discardWorkingCopy",
"(",
")",
"throws",
"JavaModelException",
";",
"IJavaElement",
"[",
"]",
"findElements",
"(",
"IJavaElement",
"element",
")",
";",
"ICompilationUnit",
"findWorkingCopy",
"(",
"WorkingCopyOwner",
"owner",
")",
";",
"IType",
"[",
"]",
"getAllTypes",
"(",
")",
"throws",
"JavaModelException",
";",
"IImportDeclaration",
"getImport",
"(",
"String",
"name",
")",
";",
"IImportContainer",
"getImportContainer",
"(",
")",
";",
"IImportDeclaration",
"[",
"]",
"getImports",
"(",
")",
"throws",
"JavaModelException",
";",
"ICompilationUnit",
"getPrimary",
"(",
")",
";",
"WorkingCopyOwner",
"getOwner",
"(",
")",
";",
"IPackageDeclaration",
"getPackageDeclaration",
"(",
"String",
"name",
")",
";",
"IPackageDeclaration",
"[",
"]",
"getPackageDeclarations",
"(",
")",
"throws",
"JavaModelException",
";",
"IType",
"getType",
"(",
"String",
"name",
")",
";",
"IType",
"[",
"]",
"getTypes",
"(",
")",
"throws",
"JavaModelException",
";",
"ICompilationUnit",
"getWorkingCopy",
"(",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"ICompilationUnit",
"getWorkingCopy",
"(",
"WorkingCopyOwner",
"owner",
",",
"IProblemRequestor",
"problemRequestor",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"public",
"boolean",
"hasResourceChanged",
"(",
")",
";",
"boolean",
"isWorkingCopy",
"(",
")",
";",
"CompilationUnit",
"reconcile",
"(",
"int",
"astLevel",
",",
"boolean",
"forceProblemDetection",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"CompilationUnit",
"reconcile",
"(",
"int",
"astLevel",
",",
"boolean",
"forceProblemDetection",
",",
"boolean",
"enableStatementsRecovery",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"CompilationUnit",
"reconcile",
"(",
"int",
"astLevel",
",",
"int",
"reconcileFlags",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"restore",
"(",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,073 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IRegion",
"{",
"void",
"add",
"(",
"IJavaElement",
"element",
")",
";",
"boolean",
"contains",
"(",
"IJavaElement",
"element",
")",
";",
"IJavaElement",
"[",
"]",
"getElements",
"(",
")",
";",
"boolean",
"remove",
"(",
"IJavaElement",
"element",
")",
";",
"}",
"</s>"
] |
3,074 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"public",
"interface",
"IAccessRule",
"{",
"int",
"K_ACCESSIBLE",
"=",
"0",
";",
"int",
"K_NON_ACCESSIBLE",
"=",
"1",
";",
"int",
"K_DISCOURAGED",
"=",
"2",
";",
"int",
"IGNORE_IF_BETTER",
"=",
"0x100",
";",
"IPath",
"getPattern",
"(",
")",
";",
"int",
"getKind",
"(",
")",
";",
"boolean",
"ignoreIfBetter",
"(",
")",
";",
"}",
"</s>"
] |
3,075 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IAnnotatable",
"{",
"IAnnotation",
"getAnnotation",
"(",
"String",
"name",
")",
";",
"IAnnotation",
"[",
"]",
"getAnnotations",
"(",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,076 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IMember",
"extends",
"IJavaElement",
",",
"ISourceReference",
",",
"ISourceManipulation",
",",
"IParent",
"{",
"String",
"[",
"]",
"getCategories",
"(",
")",
"throws",
"JavaModelException",
";",
"IClassFile",
"getClassFile",
"(",
")",
";",
"ICompilationUnit",
"getCompilationUnit",
"(",
")",
";",
"IType",
"getDeclaringType",
"(",
")",
";",
"int",
"getFlags",
"(",
")",
"throws",
"JavaModelException",
";",
"ISourceRange",
"getJavadocRange",
"(",
")",
"throws",
"JavaModelException",
";",
"int",
"getOccurrenceCount",
"(",
")",
";",
"ITypeRoot",
"getTypeRoot",
"(",
")",
";",
"IType",
"getType",
"(",
"String",
"name",
",",
"int",
"occurrenceCount",
")",
";",
"boolean",
"isBinary",
"(",
")",
";",
"}",
"</s>"
] |
3,077 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"io",
".",
"OutputStream",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"ITypeHierarchy",
"{",
"void",
"addTypeHierarchyChangedListener",
"(",
"ITypeHierarchyChangedListener",
"listener",
")",
";",
"boolean",
"contains",
"(",
"IType",
"type",
")",
";",
"boolean",
"exists",
"(",
")",
";",
"IType",
"[",
"]",
"getAllClasses",
"(",
")",
";",
"IType",
"[",
"]",
"getAllInterfaces",
"(",
")",
";",
"IType",
"[",
"]",
"getAllSubtypes",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getAllSuperclasses",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getAllSuperInterfaces",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getAllSupertypes",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getAllTypes",
"(",
")",
";",
"int",
"getCachedFlags",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getExtendingInterfaces",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getImplementingClasses",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getRootClasses",
"(",
")",
";",
"IType",
"[",
"]",
"getRootInterfaces",
"(",
")",
";",
"IType",
"[",
"]",
"getSubclasses",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getSubtypes",
"(",
"IType",
"type",
")",
";",
"IType",
"getSuperclass",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getSuperInterfaces",
"(",
"IType",
"type",
")",
";",
"IType",
"[",
"]",
"getSupertypes",
"(",
"IType",
"type",
")",
";",
"IType",
"getType",
"(",
")",
";",
"void",
"refresh",
"(",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"removeTypeHierarchyChangedListener",
"(",
"ITypeHierarchyChangedListener",
"listener",
")",
";",
"void",
"store",
"(",
"OutputStream",
"outputStream",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,078 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IPath",
";",
"public",
"interface",
"IClasspathContainer",
"{",
"int",
"K_APPLICATION",
"=",
"1",
";",
"int",
"K_SYSTEM",
"=",
"2",
";",
"int",
"K_DEFAULT_SYSTEM",
"=",
"3",
";",
"IClasspathEntry",
"[",
"]",
"getClasspathEntries",
"(",
")",
";",
"String",
"getDescription",
"(",
")",
";",
"int",
"getKind",
"(",
")",
";",
"IPath",
"getPath",
"(",
")",
";",
"}",
"</s>"
] |
3,079 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"ILocalVariable",
"extends",
"IJavaElement",
",",
"ISourceReference",
",",
"IAnnotatable",
"{",
"String",
"getElementName",
"(",
")",
";",
"ISourceRange",
"getNameRange",
"(",
")",
";",
"String",
"getTypeSignature",
"(",
")",
";",
"boolean",
"isParameter",
"(",
")",
";",
"int",
"getFlags",
"(",
")",
";",
"IMember",
"getDeclaringMember",
"(",
")",
";",
"ITypeRoot",
"getTypeRoot",
"(",
")",
";",
"}",
"</s>"
] |
3,080 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IJavaModelStatusConstants",
"{",
"public",
"static",
"final",
"int",
"INVALID_CP_CONTAINER_ENTRY",
"=",
"962",
";",
"public",
"static",
"final",
"int",
"CP_CONTAINER_PATH_UNBOUND",
"=",
"963",
";",
"public",
"static",
"final",
"int",
"INVALID_CLASSPATH",
"=",
"964",
";",
"public",
"static",
"final",
"int",
"CP_VARIABLE_PATH_UNBOUND",
"=",
"965",
";",
"public",
"static",
"final",
"int",
"CORE_EXCEPTION",
"=",
"966",
";",
"public",
"static",
"final",
"int",
"INVALID_ELEMENT_TYPES",
"=",
"967",
";",
"public",
"static",
"final",
"int",
"NO_ELEMENTS_TO_PROCESS",
"=",
"968",
";",
"public",
"static",
"final",
"int",
"ELEMENT_DOES_NOT_EXIST",
"=",
"969",
";",
"public",
"static",
"final",
"int",
"NULL_PATH",
"=",
"970",
";",
"public",
"static",
"final",
"int",
"PATH_OUTSIDE_PROJECT",
"=",
"971",
";",
"public",
"static",
"final",
"int",
"RELATIVE_PATH",
"=",
"972",
";",
"public",
"static",
"final",
"int",
"DEVICE_PATH",
"=",
"973",
";",
"public",
"static",
"final",
"int",
"NULL_STRING",
"=",
"974",
";",
"public",
"static",
"final",
"int",
"READ_ONLY",
"=",
"976",
";",
"public",
"static",
"final",
"int",
"NAME_COLLISION",
"=",
"977",
";",
"public",
"static",
"final",
"int",
"INVALID_DESTINATION",
"=",
"978",
";",
"public",
"static",
"final",
"int",
"INVALID_PATH",
"=",
"979",
";",
"public",
"static",
"final",
"int",
"INDEX_OUT_OF_BOUNDS",
"=",
"980",
";",
"public",
"static",
"final",
"int",
"UPDATE_CONFLICT",
"=",
"981",
";",
"public",
"static",
"final",
"int",
"NULL_NAME",
"=",
"982",
";",
"public",
"static",
"final",
"int",
"INVALID_NAME",
"=",
"983",
";",
"public",
"static",
"final",
"int",
"INVALID_CONTENTS",
"=",
"984",
";",
"public",
"static",
"final",
"int",
"IO_EXCEPTION",
"=",
"985",
";",
"public",
"static",
"final",
"int",
"DOM_EXCEPTION",
"=",
"986",
";",
"public",
"static",
"final",
"int",
"TARGET_EXCEPTION",
"=",
"987",
";",
"public",
"static",
"final",
"int",
"BUILDER_INITIALIZATION_ERROR",
"=",
"990",
";",
"public",
"static",
"final",
"int",
"BUILDER_SERIALIZATION_ERROR",
"=",
"991",
";",
"public",
"static",
"final",
"int",
"EVALUATION_ERROR",
"=",
"992",
";",
"public",
"static",
"final",
"int",
"INVALID_SIBLING",
"=",
"993",
";",
"public",
"static",
"final",
"int",
"INVALID_RESOURCE",
"=",
"995",
";",
"public",
"static",
"final",
"int",
"INVALID_RESOURCE_TYPE",
"=",
"996",
";",
"public",
"static",
"final",
"int",
"INVALID_PROJECT",
"=",
"997",
";",
"public",
"static",
"final",
"int",
"INVALID_PACKAGE",
"=",
"998",
";",
"public",
"static",
"final",
"int",
"NO_LOCAL_CONTENTS",
"=",
"999",
";",
"public",
"static",
"final",
"int",
"INVALID_CLASSPATH_FILE_FORMAT",
"=",
"1000",
";",
"public",
"static",
"final",
"int",
"CLASSPATH_CYCLE",
"=",
"1001",
";",
"public",
"static",
"final",
"int",
"DISABLED_CP_EXCLUSION_PATTERNS",
"=",
"1002",
";",
"public",
"static",
"final",
"int",
"DISABLED_CP_MULTIPLE_OUTPUT_LOCATIONS",
"=",
"1003",
";",
"public",
"static",
"final",
"int",
"INCOMPATIBLE_JDK_LEVEL",
"=",
"1004",
";",
"public",
"static",
"final",
"int",
"COMPILER_FAILURE",
"=",
"1005",
";",
"public",
"static",
"final",
"int",
"ELEMENT_NOT_ON_CLASSPATH",
"=",
"1006",
";",
"public",
"static",
"final",
"int",
"CANNOT_RETRIEVE_ATTACHED_JAVADOC",
"=",
"1008",
";",
"public",
"static",
"final",
"int",
"UNKNOWN_JAVADOC_FORMAT",
"=",
"1009",
";",
"public",
"static",
"final",
"int",
"DEPRECATED_VARIABLE",
"=",
"1010",
";",
"public",
"static",
"final",
"int",
"BAD_TEXT_EDIT_LOCATION",
"=",
"1011",
";",
"public",
"static",
"final",
"int",
"CANNOT_RETRIEVE_ATTACHED_JAVADOC_TIMEOUT",
"=",
"1012",
";",
"public",
"static",
"final",
"int",
"OUTPUT_LOCATION_OVERLAPPING_ANOTHER_SOURCE",
"=",
"1013",
";",
"}",
"</s>"
] |
3,081 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IMemberValuePair",
"{",
"int",
"K_INT",
"=",
"1",
";",
"int",
"K_BYTE",
"=",
"2",
";",
"int",
"K_SHORT",
"=",
"3",
";",
"int",
"K_CHAR",
"=",
"4",
";",
"int",
"K_FLOAT",
"=",
"5",
";",
"int",
"K_DOUBLE",
"=",
"6",
";",
"int",
"K_LONG",
"=",
"7",
";",
"int",
"K_BOOLEAN",
"=",
"8",
";",
"int",
"K_STRING",
"=",
"9",
";",
"int",
"K_ANNOTATION",
"=",
"10",
";",
"int",
"K_CLASS",
"=",
"11",
";",
"int",
"K_QUALIFIED_NAME",
"=",
"12",
";",
"int",
"K_SIMPLE_NAME",
"=",
"13",
";",
"int",
"K_UNKNOWN",
"=",
"14",
";",
"String",
"getMemberName",
"(",
")",
";",
"Object",
"getValue",
"(",
")",
";",
"int",
"getValueKind",
"(",
")",
";",
"}",
"</s>"
] |
3,082 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"IClassFile",
"extends",
"ITypeRoot",
"{",
"ICompilationUnit",
"becomeWorkingCopy",
"(",
"IProblemRequestor",
"problemRequestor",
",",
"WorkingCopyOwner",
"owner",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"byte",
"[",
"]",
"getBytes",
"(",
")",
"throws",
"JavaModelException",
";",
"IType",
"getType",
"(",
")",
";",
"IJavaElement",
"getWorkingCopy",
"(",
"IProgressMonitor",
"monitor",
",",
"IBufferFactory",
"factory",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isClass",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isInterface",
"(",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,083 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"java",
".",
"util",
".",
"EventObject",
";",
"public",
"class",
"ElementChangedEvent",
"extends",
"EventObject",
"{",
"public",
"static",
"final",
"int",
"POST_CHANGE",
"=",
"1",
";",
"public",
"static",
"final",
"int",
"PRE_AUTO_BUILD",
"=",
"2",
";",
"public",
"static",
"final",
"int",
"POST_RECONCILE",
"=",
"4",
";",
"private",
"static",
"final",
"long",
"serialVersionUID",
"=",
"-",
"8947240431612844420L",
";",
"private",
"int",
"type",
";",
"public",
"ElementChangedEvent",
"(",
"IJavaElementDelta",
"delta",
",",
"int",
"type",
")",
"{",
"super",
"(",
"delta",
")",
";",
"this",
".",
"type",
"=",
"type",
";",
"}",
"public",
"IJavaElementDelta",
"getDelta",
"(",
")",
"{",
"return",
"(",
"IJavaElementDelta",
")",
"this",
".",
"source",
";",
"}",
"public",
"int",
"getType",
"(",
")",
"{",
"return",
"this",
".",
"type",
";",
"}",
"}",
"</s>"
] |
3,084 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IBufferChangedListener",
"{",
"public",
"void",
"bufferChanged",
"(",
"BufferChangedEvent",
"event",
")",
";",
"}",
"</s>"
] |
3,085 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IElementChangedListener",
"{",
"public",
"void",
"elementChanged",
"(",
"ElementChangedEvent",
"event",
")",
";",
"}",
"</s>"
] |
3,086 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"ISourceManipulation",
"{",
"void",
"copy",
"(",
"IJavaElement",
"container",
",",
"IJavaElement",
"sibling",
",",
"String",
"rename",
",",
"boolean",
"replace",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"delete",
"(",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"move",
"(",
"IJavaElement",
"container",
",",
"IJavaElement",
"sibling",
",",
"String",
"rename",
",",
"boolean",
"replace",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"void",
"rename",
"(",
"String",
"name",
",",
"boolean",
"replace",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"}",
"</s>"
] |
3,087 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"compiler",
".",
"IProblem",
";",
"public",
"interface",
"ICompletionRequestor",
"{",
"void",
"acceptAnonymousType",
"(",
"char",
"[",
"]",
"superTypePackageName",
",",
"char",
"[",
"]",
"superTypeName",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptClass",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"className",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptError",
"(",
"IProblem",
"error",
")",
";",
"void",
"acceptField",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptInterface",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"interfaceName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptKeyword",
"(",
"char",
"[",
"]",
"keywordName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptLabel",
"(",
"char",
"[",
"]",
"labelName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptLocalVariable",
"(",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptMethod",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"selector",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"returnTypePackageName",
",",
"char",
"[",
"]",
"returnTypeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptMethodDeclaration",
"(",
"char",
"[",
"]",
"declaringTypePackageName",
",",
"char",
"[",
"]",
"declaringTypeName",
",",
"char",
"[",
"]",
"selector",
",",
"char",
"[",
"]",
"[",
"]",
"parameterPackageNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterTypeNames",
",",
"char",
"[",
"]",
"[",
"]",
"parameterNames",
",",
"char",
"[",
"]",
"returnTypePackageName",
",",
"char",
"[",
"]",
"returnTypeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"modifiers",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptModifier",
"(",
"char",
"[",
"]",
"modifierName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptPackage",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptType",
"(",
"char",
"[",
"]",
"packageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"void",
"acceptVariableName",
"(",
"char",
"[",
"]",
"typePackageName",
",",
"char",
"[",
"]",
"typeName",
",",
"char",
"[",
"]",
"name",
",",
"char",
"[",
"]",
"completionName",
",",
"int",
"completionStart",
",",
"int",
"completionEnd",
",",
"int",
"relevance",
")",
";",
"}",
"</s>"
] |
3,088 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"import",
"org",
".",
"eclipse",
".",
"core",
".",
"runtime",
".",
"IProgressMonitor",
";",
"public",
"interface",
"IPackageFragment",
"extends",
"IParent",
",",
"IJavaElement",
",",
"IOpenable",
",",
"ISourceManipulation",
"{",
"public",
"static",
"final",
"String",
"DEFAULT_PACKAGE_NAME",
"=",
"\"\"",
";",
"boolean",
"containsJavaResources",
"(",
")",
"throws",
"JavaModelException",
";",
"ICompilationUnit",
"createCompilationUnit",
"(",
"String",
"name",
",",
"String",
"contents",
",",
"boolean",
"force",
",",
"IProgressMonitor",
"monitor",
")",
"throws",
"JavaModelException",
";",
"IClassFile",
"getClassFile",
"(",
"String",
"name",
")",
";",
"IClassFile",
"[",
"]",
"getClassFiles",
"(",
")",
"throws",
"JavaModelException",
";",
"ICompilationUnit",
"getCompilationUnit",
"(",
"String",
"name",
")",
";",
"ICompilationUnit",
"[",
"]",
"getCompilationUnits",
"(",
")",
"throws",
"JavaModelException",
";",
"ICompilationUnit",
"[",
"]",
"getCompilationUnits",
"(",
"WorkingCopyOwner",
"owner",
")",
"throws",
"JavaModelException",
";",
"String",
"getElementName",
"(",
")",
";",
"int",
"getKind",
"(",
")",
"throws",
"JavaModelException",
";",
"Object",
"[",
"]",
"getNonJavaResources",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"hasSubpackages",
"(",
")",
"throws",
"JavaModelException",
";",
"boolean",
"isDefaultPackage",
"(",
")",
";",
"}",
"</s>"
] |
3,089 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
";",
"public",
"interface",
"IImportContainer",
"extends",
"IJavaElement",
",",
"IParent",
",",
"ISourceReference",
"{",
"IImportDeclaration",
"getImport",
"(",
"String",
"name",
")",
";",
"}",
"</s>"
] |
3,090 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMField",
"extends",
"IDOMMember",
"{",
"public",
"String",
"getInitializer",
"(",
")",
";",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"String",
"getType",
"(",
")",
";",
"public",
"void",
"setInitializer",
"(",
"String",
"initializer",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
"throws",
"IllegalArgumentException",
";",
"public",
"void",
"setType",
"(",
"String",
"typeName",
")",
"throws",
"IllegalArgumentException",
";",
"}",
"</s>"
] |
3,091 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMPackage",
"extends",
"IDOMNode",
"{",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
";",
"}",
"</s>"
] |
3,092 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMMethod",
"extends",
"IDOMMember",
"{",
"public",
"void",
"addException",
"(",
"String",
"exceptionType",
")",
"throws",
"IllegalArgumentException",
";",
"public",
"void",
"addParameter",
"(",
"String",
"type",
",",
"String",
"name",
")",
"throws",
"IllegalArgumentException",
";",
"public",
"String",
"getBody",
"(",
")",
";",
"public",
"void",
"setDefault",
"(",
"String",
"defaultValue",
")",
";",
"public",
"String",
"getDefault",
"(",
")",
";",
"public",
"String",
"[",
"]",
"getExceptions",
"(",
")",
";",
"String",
"[",
"]",
"getTypeParameters",
"(",
")",
";",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"String",
"[",
"]",
"getParameterNames",
"(",
")",
";",
"public",
"String",
"[",
"]",
"getParameterTypes",
"(",
")",
";",
"public",
"String",
"getReturnType",
"(",
")",
";",
"public",
"boolean",
"isConstructor",
"(",
")",
";",
"public",
"void",
"setBody",
"(",
"String",
"body",
")",
";",
"public",
"void",
"setConstructor",
"(",
"boolean",
"b",
")",
";",
"public",
"void",
"setExceptions",
"(",
"String",
"[",
"]",
"exceptionTypes",
")",
";",
"void",
"setTypeParameters",
"(",
"String",
"[",
"]",
"typeParameters",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
"throws",
"IllegalArgumentException",
";",
"public",
"void",
"setParameters",
"(",
"String",
"[",
"]",
"types",
",",
"String",
"[",
"]",
"names",
")",
"throws",
"IllegalArgumentException",
";",
"public",
"void",
"setReturnType",
"(",
"String",
"type",
")",
"throws",
"IllegalArgumentException",
";",
"}",
"</s>"
] |
3,093 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"class",
"DOMException",
"extends",
"RuntimeException",
"{",
"private",
"static",
"final",
"long",
"serialVersionUID",
"=",
"2536853590795032028L",
";",
"public",
"DOMException",
"(",
")",
"{",
"}",
"public",
"DOMException",
"(",
"String",
"message",
")",
"{",
"super",
"(",
"message",
")",
";",
"}",
"}",
"</s>"
] |
3,094 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMCompilationUnit",
"extends",
"IDOMNode",
"{",
"public",
"String",
"getHeader",
"(",
")",
";",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"void",
"setHeader",
"(",
"String",
"comment",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
";",
"}",
"</s>"
] |
3,095 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMFactory",
"{",
"public",
"IDOMCompilationUnit",
"createCompilationUnit",
"(",
")",
";",
"public",
"IDOMCompilationUnit",
"createCompilationUnit",
"(",
"char",
"[",
"]",
"sourceCode",
",",
"String",
"name",
")",
";",
"public",
"IDOMCompilationUnit",
"createCompilationUnit",
"(",
"String",
"sourceCode",
",",
"String",
"name",
")",
";",
"public",
"IDOMField",
"createField",
"(",
")",
";",
"public",
"IDOMField",
"createField",
"(",
"String",
"sourceCode",
")",
";",
"public",
"IDOMImport",
"createImport",
"(",
")",
";",
"public",
"IDOMImport",
"createImport",
"(",
"String",
"sourceCode",
")",
";",
"public",
"IDOMInitializer",
"createInitializer",
"(",
")",
";",
"public",
"IDOMInitializer",
"createInitializer",
"(",
"String",
"sourceCode",
")",
";",
"public",
"IDOMMethod",
"createMethod",
"(",
")",
";",
"public",
"IDOMMethod",
"createMethod",
"(",
"String",
"sourceCode",
")",
";",
"public",
"IDOMPackage",
"createPackage",
"(",
")",
";",
"public",
"IDOMPackage",
"createPackage",
"(",
"String",
"sourceCode",
")",
";",
"public",
"IDOMType",
"createType",
"(",
")",
";",
"public",
"IDOMType",
"createClass",
"(",
")",
";",
"public",
"IDOMType",
"createInterface",
"(",
")",
";",
"public",
"IDOMType",
"createType",
"(",
"String",
"sourceCode",
")",
";",
"}",
"</s>"
] |
3,096 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMMember",
"extends",
"IDOMNode",
"{",
"public",
"String",
"getComment",
"(",
")",
";",
"public",
"int",
"getFlags",
"(",
")",
";",
"public",
"void",
"setComment",
"(",
"String",
"comment",
")",
";",
"public",
"void",
"setFlags",
"(",
"int",
"flags",
")",
";",
"}",
"</s>"
] |
3,097 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMType",
"extends",
"IDOMMember",
"{",
"public",
"void",
"addSuperInterface",
"(",
"String",
"interfaceName",
")",
"throws",
"IllegalArgumentException",
";",
"String",
"[",
"]",
"getTypeParameters",
"(",
")",
";",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"String",
"getSuperclass",
"(",
")",
";",
"public",
"String",
"[",
"]",
"getSuperInterfaces",
"(",
")",
";",
"public",
"boolean",
"isClass",
"(",
")",
";",
"boolean",
"isEnum",
"(",
")",
";",
"boolean",
"isAnnotation",
"(",
")",
";",
"public",
"void",
"setClass",
"(",
"boolean",
"b",
")",
";",
"public",
"void",
"setEnum",
"(",
"boolean",
"b",
")",
";",
"public",
"void",
"setAnnotation",
"(",
"boolean",
"b",
")",
";",
"void",
"setTypeParameters",
"(",
"String",
"[",
"]",
"typeParameters",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
"throws",
"IllegalArgumentException",
";",
"public",
"void",
"setSuperclass",
"(",
"String",
"superclassName",
")",
";",
"public",
"void",
"setSuperInterfaces",
"(",
"String",
"[",
"]",
"interfaceNames",
")",
";",
"}",
"</s>"
] |
3,098 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMInitializer",
"extends",
"IDOMMember",
"{",
"public",
"String",
"getBody",
"(",
")",
";",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"void",
"setBody",
"(",
"String",
"body",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
";",
"}",
"</s>"
] |
3,099 | [
"<s>",
"package",
"org",
".",
"eclipse",
".",
"jdt",
".",
"core",
".",
"jdom",
";",
"public",
"interface",
"IDOMImport",
"extends",
"IDOMNode",
"{",
"public",
"String",
"getName",
"(",
")",
";",
"public",
"boolean",
"isOnDemand",
"(",
")",
";",
"int",
"getFlags",
"(",
")",
";",
"void",
"setFlags",
"(",
"int",
"flags",
")",
";",
"public",
"void",
"setName",
"(",
"String",
"name",
")",
";",
"}",
"</s>"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.