JavaDecompiler/JavaAttributeInfo.cs
/// <summary>
/// Creates a new attribute by the type
/// </summary>
/// <param name="type"></param>
/// <returns></returns>
Creates a new attribute by the type
Creates a new attribute by the type
private static JavaAttributeInfo Create(string type)
        {
            switch (type)
            {
                case "Code":
                    return new JavaAttributeCodeInfo();
                default:
                    return new JavaAttributeUnknwonInfo();
            }
        }
private static JavaAttributeInfo Create ( string type ) { switch ( type ) { case " " : return new JavaAttributeCodeInfo ( ) ; default : return new JavaAttributeUnknwonInfo ( ) ; } }
Creates a new attribute by the type
Creates a new attribute by the type
None
type
string
None