Package tv.porst.swfretools.parser.structures

Examples of tv.porst.swfretools.parser.structures.MultinameInfo


    else if (classNameIndex - 1 >= multinameList.size()) {
      errors.add(String.format("The class name of the method at address %08X could not be resolved as the name index is out of bounds", instanceInfo.getBitPosition() / 8));
      return null;
    }
    else {
      final MultinameInfo multinameInfo = multinameList.get(classNameIndex - 1);

      try {
        return ActionScript3Helpers.resolveMultiname(multinameInfo, constantStringList, namespaceList);
      } catch (final ResolverException e) {
        errors.add(String.format("The class name of the method at address %08X could not be resolved as the name index is out of bounds", instanceInfo.getBitPosition() / 8));
View Full Code Here


      else if (paramTypeIndex - 1 >= multinameList.size()) {
        errors.add(String.format("Could not resolve argument of method at offset %08X because name index is out of bounds", methodInfo.getBitPosition() / 8));
        arguments.add(null);
      }
      else {
        final MultinameInfo multinameInfo = multinameList.get(paramTypeIndex - 1);

        try {
          final String[] name = ActionScript3Helpers.resolveMultiname(multinameInfo, constantStringList, namespaceList);
          arguments.add(name);
        } catch (final ResolverException e) {
View Full Code Here

    else if (nameIndex -1 >= multinameList.size()) {
      errors.add(String.format("Name of method at offset %08X could not be resolved as name index is out of bounds", traitsInfo.getBitPosition() / 8));
      return null;
    }
    else {
      final MultinameInfo multiNameInfo = multinameList.get(traitsInfo.getName().value() - 1);

      try {
        return ActionScript3Helpers.resolveMultiname(multiNameInfo, constantStringList, namespaceList);
      } catch (final ResolverException e) {
        errors.add(String.format("Name of method at offset %08X could not be resolved as name index is out of bounds", traitsInfo.getBitPosition() / 8));
View Full Code Here

    else if (returnTypeIndex - 1 >= multinameList.size()) {
      errors.add(String.format("Return type of method at offset %08X could not be resolved because its return type index is out of bounds", methodInfo.getBitPosition() / 8));
      return null;
    }
    else {
      final MultinameInfo multinameInfo = multinameList.get(returnTypeIndex - 1);

      try {
        return ActionScript3Helpers.resolveMultiname(multinameInfo, constantStringList, namespaceList);
      } catch (final ResolverException e) {
        errors.add(String.format("Return type of method at offset %08X could not be resolved because its return type index is out of bounds", methodInfo.getBitPosition() / 8));
View Full Code Here

      return resolvedMultinames.get(index);
    }

    final MultinameInfoList multinames = data.getConstantPool().getMultinames();

    final MultinameInfo multiname = multinames.get(index - 1);

    try {
      final String[] namespaceParts = ActionScript3Helpers.resolveMultiname(multiname, data.getConstantPool().getStrings(), data.getConstantPool().getNamespaces());

      resolvedMultinames.put(index, namespaceParts);
View Full Code Here

TOP

Related Classes of tv.porst.swfretools.parser.structures.MultinameInfo

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.