codemining.java.codeutils.IdentifierPerType Java Examples

The following examples show how to use codemining.java.codeutils.IdentifierPerType. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: JavaTokenizerSomeTokens.java    From api-mining with GNU General Public License v3.0 4 votes vote down vote up
private void generateValidTokList(final char[] code) throws Exception {
	methodIds = IdentifierPerType.getMethodIdentifiers(code);
	typeIds = IdentifierPerType.getTypeIdentifiers(code);
	varIds = IdentifierPerType.getVariableIdentifiers(code);
}
 
Example #2
Source File: JavaIdentifierAnnotatedTokenizer.java    From api-mining with GNU General Public License v3.0 4 votes vote down vote up
public IdentifierTypeRetriever(final char[] code) throws Exception {
	variables = IdentifierPerType.getVariableIdentifiersRanges(code);
	methods = IdentifierPerType.getMethodIdentifiersRanges(code);
	types = IdentifierPerType.getTypeIdentifiersRanges(code);
}
 
Example #3
Source File: JavaTokenizerSomeTokens.java    From tassal with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
private void generateValidTokList(final char[] code) throws Exception {
	methodIds = IdentifierPerType.getMethodIdentifiers(code);
	typeIds = IdentifierPerType.getTypeIdentifiers(code);
	varIds = IdentifierPerType.getVariableIdentifiers(code);
}
 
Example #4
Source File: JavaIdentifierAnnotatedTokenizer.java    From tassal with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public IdentifierTypeRetriever(final char[] code) throws Exception {
	variables = IdentifierPerType.getVariableIdentifiersRanges(code);
	methods = IdentifierPerType.getMethodIdentifiersRanges(code);
	types = IdentifierPerType.getTypeIdentifiersRanges(code);
}
 
Example #5
Source File: JavaTokenizerSomeTokens.java    From codemining-core with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
private void generateValidTokList(final char[] code) throws Exception {
	methodIds = IdentifierPerType.getMethodIdentifiers(code);
	typeIds = IdentifierPerType.getTypeIdentifiers(code);
	varIds = IdentifierPerType.getVariableIdentifiers(code);
}
 
Example #6
Source File: JavaIdentifierAnnotatedTokenizer.java    From codemining-core with BSD 3-Clause "New" or "Revised" License 4 votes vote down vote up
public IdentifierTypeRetriever(final char[] code) throws Exception {
	variables = IdentifierPerType.getVariableIdentifiersRanges(code);
	methods = IdentifierPerType.getMethodIdentifiersRanges(code);
	types = IdentifierPerType.getTypeIdentifiersRanges(code);
}