code2vec/JavaExtractor/JPredict/src/main/java/JavaExtractor/FeaturesEntities/ProgramNode.java
<reponame>IntHelloWorld/Peelerpackage JavaExtractor.FeaturesEntities;

import java.io.UnsupportedEncodingException;
import java.net.URLEncoder;
import JavaExtractor.Common.Common;

public class ProgramNode {
	public int Id;
	public String Type;
	public String Name;
	public boolean IsMethodDeclarationName;
	
	public ProgramNode(String name) {
		Name = name;
		try {
			Name = URLEncoder.encode(name, Common.UTF8);
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
	}
}
